共用方式為


AutoMLExperimentExtension.SetRegressionMetric 方法

定義

將 設定 Microsoft.ML.AutoML.RegressionMetricManager 為 的 AutoMLExperiment 評估管理員。 這會使用 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

評分資料行。

傳回

AutoMLExperiment

適用於