From 79151a6743919303c105f85fbff6ae3d2cef640d Mon Sep 17 00:00:00 2001 From: Gani Nazirov Date: Wed, 13 Mar 2019 16:08:41 -0700 Subject: [PATCH] Allow only BinaryPredictors in OVA --- 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 4be5a0ada9..2f9fa6a64c 100644 --- a/src/Microsoft.ML.StandardTrainers/StandardTrainersCatalog.cs +++ b/src/Microsoft.ML.StandardTrainers/StandardTrainersCatalog.cs @@ -628,7 +628,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,