3 instantiations of OneVersusAllModelParameters
Microsoft.ML.StandardTrainers (3)
34 references to OneVersusAllModelParameters
Microsoft.ML.AutoML (2)
Microsoft.ML.EntryPoints (1)
Microsoft.ML.LightGbm (10)
LightGbmMulticlassTrainer.cs (10)
53MulticlassPredictionTransformer<OneVersusAllModelParameters>,
54OneVersusAllModelParameters>
211private protected override OneVersusAllModelParameters CreatePredictor()
228return OneVersusAllModelParameters.Create(Host, OneVersusAllModelParameters.OutputFormula.Softmax, predictors);
230return OneVersusAllModelParameters.Create(Host, predictors);
375private protected override MulticlassPredictionTransformer<OneVersusAllModelParameters> MakeTransformer(OneVersusAllModelParameters model, DataViewSchema trainSchema)
376=> new MulticlassPredictionTransformer<OneVersusAllModelParameters>(Host, model, trainSchema, FeatureColumn.Name, LabelColumn.Name);
382public MulticlassPredictionTransformer<OneVersusAllModelParameters> Fit(IDataView trainData, IDataView validationData)
Microsoft.ML.PerformanceTests (2)
Microsoft.ML.StandardTrainers (16)
Standard\MulticlassClassification\OneVersusAllTrainer.cs (16)
30[assembly: LoadableClass(typeof(OneVersusAllModelParameters), null, typeof(SignatureLoadModel),
32OneVersusAllModelParameters.LoaderSignature)]
34[assembly: EntryPointModule(typeof(OneVersusAllModelParameters))]
87public sealed class OneVersusAllTrainer : MetaMulticlassTrainer<MulticlassPredictionTransformer<OneVersusAllModelParameters>, OneVersusAllModelParameters>
151private protected override OneVersusAllModelParameters TrainCore(IChannel ch, RoleMappedData data, int count)
160return OneVersusAllModelParameters.Create(Host, _options.UseProbabilities, predictors);
210public override MulticlassPredictionTransformer<OneVersusAllModelParameters> Fit(IDataView input)
237return new MulticlassPredictionTransformer<OneVersusAllModelParameters>(Host, OneVersusAllModelParameters.Create(Host, _options.UseProbabilities, predictors), input.Schema, featureColumn, LabelColumn.Name);
263loaderAssemblyName: typeof(OneVersusAllModelParameters).Assembly.FullName);
298internal static OneVersusAllModelParameters Create(IHost host, OutputFormula outputFormula, TScalarPredictor[] predictors)
338internal static OneVersusAllModelParameters Create(IHost host, bool useProbability, TScalarPredictor[] predictors)
346/// Create a <see cref="OneVersusAllModelParameters"/> from an array of predictors.
349internal static OneVersusAllModelParameters Create(IHost host, TScalarPredictor[] predictors)
398internal static OneVersusAllModelParameters Create(IHostEnvironment env, ModelLoadContext ctx)
Microsoft.ML.Tests (3)