topepo / caret

caret (Classification And Regression Training) R package that contains misc functions for training and plotting classification and regression models
http://topepo.github.io/caret/index.html
1.61k stars 634 forks source link

WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. #1359

Open muchillin opened 5 months ago

muchillin commented 5 months ago

Dear doctor, I would like to ask you a question regarding an error with boosting, when creating the xgbTree code, it happens that an error appears in the console:

WARNING: src/c_api/c_api.cc:935: ntree_limit is deprecated, use iteration_range instead.

which does not stop and you have to perform a manual "escape", but the code was not executed; For this reason, I would like to be able to make the query and know if you could tell me how to fix the problem.

very thankful, José