AutoMLExperimentExtension.SetRegressionMetric 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.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
- experiment
- AutoMLExperiment
- metric
- RegressionMetric
evaluation metric.
- labelColumn
- String
label column.
- scoreColumn
- String
score column.