On Thursday, October 11, 2012 09:39:37 AM Naoki Wake wrote:
> Luis,
> Thank you for reply.
> I understood that the code generate multiple models.
> Then, can I set the number of models which are combined?
You can set the max_iters parameter:
learner = milk.supervised.adaboost.boost_learner(weak, max_iters=8)
This is the maximum number of weak learners, but it might be less if the
algorithm believes it is no longer making progress.
HTH