Partager via


AutoMLExperimentExtension.SetBinaryClassificationMetric Méthode

Définition

Définissez Microsoft.ML.AutoML.BinaryMetricManager comme gestionnaire d’évaluation pour AutoMLExperiment. Cela permet d’utiliser AutoMLExperimentmetric comme métrique d’évaluation.

public static Microsoft.ML.AutoML.AutoMLExperiment SetBinaryClassificationMetric (this Microsoft.ML.AutoML.AutoMLExperiment experiment, Microsoft.ML.AutoML.BinaryClassificationMetric metric, string labelColumn = "label", string predictedColumn = "PredictedLabel");
static member SetBinaryClassificationMetric : Microsoft.ML.AutoML.AutoMLExperiment * Microsoft.ML.AutoML.BinaryClassificationMetric * string * string -> Microsoft.ML.AutoML.AutoMLExperiment
<Extension()>
Public Function SetBinaryClassificationMetric (experiment As AutoMLExperiment, metric As BinaryClassificationMetric, Optional labelColumn As String = "label", Optional predictedColumn As String = "PredictedLabel") As AutoMLExperiment

Paramètres

metric
BinaryClassificationMetric

métrique d’évaluation.

labelColumn
String

colonne d’étiquette.

predictedColumn
String

colonne prédite.

Retours

AutoMLExperiment

S’applique à