Share via


AutoMLExperimentExtension.SetMulticlassClassificationMetric Method

Definition

Set Microsoft.ML.AutoML.MultiClassMetricManager as evaluation manager for AutoMLExperiment. This will make AutoMLExperiment uses metric as evaluation metric.

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

Parameters

metric
MulticlassClassificationMetric

evaluation metric.

labelColumn
String

label column.

predictedColumn
String

predicted column.

Returns

AutoMLExperiment

Applies to