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.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for