AutoMLExperimentExtension.SetBinaryClassificationMetric 方法

定义

将 设置为 Microsoft.ML.AutoML.BinaryMetricManagerAutoMLExperiment评估管理器。 这将用作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

label 列。

predictedColumn
String

预测列。

返回

AutoMLExperiment

适用于