1 write to Args
Microsoft.ML.Ensemble (1)
Trainer\EnsembleTrainerBase.cs (1)
80Args = args;
10 references to Args
Microsoft.ML.Ensemble (10)
Trainer\EnsembleTrainerBase.cs (10)
84var predictorFactories = Args.GetPredictorFactories(); 87NumModels = Args.NumModels ?? 90ch.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); 130ch.CheckUserArg(stackingTrainer == null || Args.BatchSize <= 0, nameof(Args.BatchSize), "Stacking works only with Non-batch mode"); 136var needMetrics = Args.ShowMetrics || Combiner is IWeightedAverager; 139_subsetSelector.Initialize(data, NumModels, Args.BatchSize, validationDataSetProportion); 148new ParallelOptions() { MaxDegreeOfParallelism = Args.TrainParallel ? -1 : 1 }, 176if (Args.ShowMetrics)