AutoMLExperimentExtension.SetBinaryClassificationMetric Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set Microsoft.ML.AutoML.BinaryMetricManager as evaluation manager for AutoMLExperiment. This will make
AutoMLExperiment uses metric
as evaluation metric.
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
Parameters
- experiment
- AutoMLExperiment
- metric
- BinaryClassificationMetric
evaluation metric.
- labelColumn
- String
label column.
- predictedColumn
- String
predicted column.