2 instantiations of PriorModelParameters
Microsoft.ML.StandardTrainers (2)
Standard\Simple\SimpleTrainers.cs (2)
293return new PriorModelParameters(_host, prob); 388return new PriorModelParameters(env, ctx);
13 references to PriorModelParameters
Microsoft.ML.StandardTrainers (13)
Standard\Simple\SimpleTrainers.cs (13)
27[assembly: LoadableClass(typeof(PriorModelParameters), null, typeof(SignatureLoadModel), 28"Prior predictor", PriorModelParameters.LoaderSignature)] 193public sealed class PriorTrainer : ITrainer<PriorModelParameters>, 194ITrainerEstimator<BinaryPredictionTransformer<PriorModelParameters>, PriorModelParameters> 243public BinaryPredictionTransformer<PriorModelParameters> Fit(IDataView input) 246var pred = ((ITrainer<PriorModelParameters>)this).Train(new TrainContext(trainRoles)); 247return new BinaryPredictionTransformer<PriorModelParameters>(_host, pred, input.Schema, featureColumn: null, labelColumn: _labelColumnName); 250private PriorModelParameters Train(TrainContext context) 298PriorModelParameters ITrainer<PriorModelParameters>.Train(TrainContext context) => Train(context); 346loaderAssemblyName: typeof(PriorModelParameters).Assembly.FullName); 383internal static PriorModelParameters Create(IHostEnvironment env, ModelLoadContext ctx)