/** * Instantiates member variables. * * @param n The name of the classifier. **/ public AdaBoost(String n) { this(n, new Parameters()); }
/** * Retrieves the parameters that are set in this learner. * * @return An object containing all the values of the parameters that control the behavior of * this learning algorithm. **/ public Learner.Parameters getParameters() { Parameters p = new Parameters(super.getParameters()); p.weakLearner = weakLearner; p.rounds = rounds; return p; }