Share via


AutoMLExperimentExtension.SetRegressionMetric Method

Definition

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

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

Parameters

metric
RegressionMetric

evaluation metric.

labelColumn
String

label column.

scoreColumn
String

score column.

Returns

AutoMLExperiment

Applies to