From 6a4df7c03e00bc02b1116730b8cb752e1041529a Mon Sep 17 00:00:00 2001 From: Gani Nazirov Date: Thu, 14 Mar 2019 10:52:48 -0700 Subject: [PATCH] Allow only BinaryPredictionTransformer estimators in OVA (#2949) --- src/Microsoft.ML.StandardTrainers/StandardTrainersCatalog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.ML.StandardTrainers/StandardTrainersCatalog.cs b/src/Microsoft.ML.StandardTrainers/StandardTrainersCatalog.cs index 2c7019bbfd..c2041dd248 100644 --- a/src/Microsoft.ML.StandardTrainers/StandardTrainersCatalog.cs +++ b/src/Microsoft.ML.StandardTrainers/StandardTrainersCatalog.cs @@ -632,7 +632,7 @@ private static ICalibratorTrainer GetCalibratorTrainerOrThrow(IExceptionContext /// Use probabilities (vs. raw outputs) to identify top-score category. /// The type of the model. This type parameter will usually be inferred automatically from . public static OneVersusAllTrainer OneVersusAll(this MulticlassClassificationCatalog.MulticlassClassificationTrainers catalog, - ITrainerEstimator, TModel> binaryEstimator, + ITrainerEstimator, TModel> binaryEstimator, string labelColumnName = DefaultColumnNames.Label, bool imputeMissingLabelsAsNegative = false, IEstimator> calibrator = null,