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