共用方式為


AutoMLExperimentExtension.SetMulticlassClassificationMetric 方法

定義

將 設定 Microsoft.ML.AutoML.MultiClassMetricManager 為 的評估管理員 AutoMLExperiment 。 這會使用 AutoMLExperimentmetric 做為評估計量。

public static Microsoft.ML.AutoML.AutoMLExperiment SetMulticlassClassificationMetric (this Microsoft.ML.AutoML.AutoMLExperiment experiment, Microsoft.ML.AutoML.MulticlassClassificationMetric metric, string labelColumn = "label", string predictedColumn = "PredictedLabel");
static member SetMulticlassClassificationMetric : Microsoft.ML.AutoML.AutoMLExperiment * Microsoft.ML.AutoML.MulticlassClassificationMetric * string * string -> Microsoft.ML.AutoML.AutoMLExperiment
<Extension()>
Public Function SetMulticlassClassificationMetric (experiment As AutoMLExperiment, metric As MulticlassClassificationMetric, Optional labelColumn As String = "label", Optional predictedColumn As String = "PredictedLabel") As AutoMLExperiment

參數

metric
MulticlassClassificationMetric

評估計量。

labelColumn
String

標籤資料行。

predictedColumn
String

預測資料行。

傳回

AutoMLExperiment

適用於