super("Bagging");
}
public void init(ConfigHolder configHolder, int maxNumTrainInstances, int maxNumValidInstances, EvaluationMetric evaluationMetric)
throws Exception {
TrainingConfig trainingConfig = configHolder.getConfig(TrainingConfig.class);
BaggingConfig baggingConfig = configHolder.getConfig(BaggingConfig.class);
this.bagCount = baggingConfig.bagCount;
this.baggingTrainFraction = baggingConfig.trainFraction;
this.backfit = baggingConfig.backfitting;