Udostępnij za pośrednictwem


AutoMLExperimentExtension.SetMulticlassClassificationMetric Metoda

Definicja

Ustaw Microsoft.ML.AutoML.MultiClassMetricManager jako menedżera oceny dla parametru AutoMLExperiment. Spowoduje AutoMLExperiment to użycie metric jako metryki oceny.

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

Parametry

metric
MulticlassClassificationMetric

metryka oceny.

labelColumn
String

kolumna etykiety.

predictedColumn
String

przewidywana kolumna.

Zwraca

AutoMLExperiment

Dotyczy