2 instantiations of PriorModelParameters
Microsoft.ML.StandardTrainers (2)
Standard\Simple\SimpleTrainers.cs (2)
293
return new
PriorModelParameters
(_host, prob);
388
return 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)]
193
public sealed class PriorTrainer : ITrainer<
PriorModelParameters
>,
194
ITrainerEstimator<BinaryPredictionTransformer<
PriorModelParameters
>,
PriorModelParameters
>
243
public BinaryPredictionTransformer<
PriorModelParameters
> Fit(IDataView input)
246
var pred = ((ITrainer<
PriorModelParameters
>)this).Train(new TrainContext(trainRoles));
247
return new BinaryPredictionTransformer<
PriorModelParameters
>(_host, pred, input.Schema, featureColumn: null, labelColumn: _labelColumnName);
250
private
PriorModelParameters
Train(TrainContext context)
298
PriorModelParameters
ITrainer<
PriorModelParameters
>.Train(TrainContext context) => Train(context);
346
loaderAssemblyName: typeof(
PriorModelParameters
).Assembly.FullName);
383
internal static
PriorModelParameters
Create(IHostEnvironment env, ModelLoadContext ctx)