Retrieving the number of iterations in boosted_trees_classifier when using early_stopping_rounds

User 2568 | 3/16/2016, 5:03:08 AM

When I use boostedtreesclassifier.create with earlystoppingrounds the verbose output states the number of iteration used for the returned model, i.e.,

Early stop triggered. Returning the best model at iteration: 62

Is this stored in the model as num_trees?


User 1190 | 3/16/2016, 6:04:38 AM