Udostępnij za pośrednictwem


AutoMLExperimentExtension.SetRegressionMetric Metoda

Definicja

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

public static Microsoft.ML.AutoML.AutoMLExperiment SetRegressionMetric (this Microsoft.ML.AutoML.AutoMLExperiment experiment, Microsoft.ML.AutoML.RegressionMetric metric, string labelColumn = "Label", string scoreColumn = "Score");
static member SetRegressionMetric : Microsoft.ML.AutoML.AutoMLExperiment * Microsoft.ML.AutoML.RegressionMetric * string * string -> Microsoft.ML.AutoML.AutoMLExperiment
<Extension()>
Public Function SetRegressionMetric (experiment As AutoMLExperiment, metric As RegressionMetric, Optional labelColumn As String = "Label", Optional scoreColumn As String = "Score") As AutoMLExperiment

Parametry

metric
RegressionMetric

metryka oceny.

labelColumn
String

kolumna etykiety.

scoreColumn
String

kolumna score.

Zwraca

AutoMLExperiment

Dotyczy