Is there currently a way to evaluate on a subset of the trained trees?
Evaluating on a subset of trees
You can set ntree_limit
to evaluate first ntree_limit
trees. It is currently not possible to evaluate an arbitrary subset of trees.
Cool, thanks! Is there a way to evaluate on the first n trees in the Scala Spark version? I can’t seem to find a way to do so…
@gracelam The treeLimit
parameter is in the works for XGBoost4J-Spark: https://github.com/dmlc/xgboost/pull/3532