AutoMLExperimentExtension.SetRegressionMetric 方法

定义

将 设置为 Microsoft.ML.AutoML.RegressionMetricManagerAutoMLExperiment评估管理器。 这将使用 AutoMLExperimentmetric 作为评估指标。

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

参数

metric
RegressionMetric

评估指标。

labelColumn
String

标签列。

scoreColumn
String

score 列。

返回

AutoMLExperiment

适用于