AutoMLExperimentExtension.SetMulticlassClassificationMetric 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.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
- experiment
- AutoMLExperiment
evaluation metric.
- labelColumn
- String
label column.
- predictedColumn
- String
predicted column.