1 write to Args
Microsoft.ML.Ensemble (1)
Trainer\EnsembleTrainerBase.cs (1)
80
Args
= args;
10 references to Args
Microsoft.ML.Ensemble (10)
Trainer\EnsembleTrainerBase.cs (10)
84
var predictorFactories =
Args
.GetPredictorFactories();
87
NumModels =
Args
.NumModels ??
90
ch.CheckUserArg(NumModels > 0, nameof(
Args
.NumModels), "Must be positive, or null to indicate numModels is the number of base predictors");
95
_subsetSelector =
Args
.SamplingType.CreateComponent(Host);
130
ch.CheckUserArg(stackingTrainer == null ||
Args
.BatchSize <= 0, nameof(
Args
.BatchSize), "Stacking works only with Non-batch mode");
136
var needMetrics =
Args
.ShowMetrics || Combiner is IWeightedAverager;
139
_subsetSelector.Initialize(data, NumModels,
Args
.BatchSize, validationDataSetProportion);
148
new ParallelOptions() { MaxDegreeOfParallelism =
Args
.TrainParallel ? -1 : 1 },
176
if (
Args
.ShowMetrics)