共用方式為


AutoMLExperimentExtension.SetBinaryClassificationMetric 方法

定義

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

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

參數

metric
BinaryClassificationMetric

評估計量。

labelColumn
String

標籤資料行。

predictedColumn
String

預測資料行。

傳回

AutoMLExperiment

適用於