1 write to Trainers
Microsoft.ML.Ensemble (1)
Trainer\EnsembleTrainerBase.cs (1)
97Trainers = new ITrainerEstimator<ISingleFeaturePredictionTransformer<IPredictorProducing<TOutput>>, IPredictorProducing<TOutput>>[NumModels];
13 references to Trainers
Microsoft.ML.Ensemble (13)
Trainer\EnsembleTrainerBase.cs (13)
98for (int i = 0; i < Trainers.Length; i++) 99Trainers[i] = predictorFactories[i % predictorFactories.Length].CreateComponent(Host); 103normalization: Trainers.Any(t => t.Info.NeedNormalization), 104calibration: Trainers.Any(t => t.Info.NeedCalibration)); 144ch.Info("Training {0} learners for the batch {1}", Trainers.Length, batchNumber++); 145var batchModels = new FeatureSubsetModel<TOutput>[Trainers.Length]; 151ch.Info("Beginning training model {0} of {1}", index + 1, Trainers.Length); 159Trainers[(int)index].Fit(subset.Data.Data).Model, 170index + 1, Trainers.Length, ex.Message); 172ch.Info("Trainer {0} of {1} finished in {2}", index + 1, Trainers.Length, sw.Elapsed); 186if (modelSize < Utils.Size(Trainers)) 187ch.Warning("{0} of {1} trainings failed.", Utils.Size(Trainers) - modelSize, Utils.Size(Trainers));