AutoMLExperimentExtension.SetBinaryClassificationMetric 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 设置为 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
参数
- experiment
- AutoMLExperiment
- metric
- BinaryClassificationMetric
评估指标。
- labelColumn
- String
label 列。
- predictedColumn
- String
预测列。