New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XGBoost doesn't generate as many tree as specified in the num_round parameter #2610
Comments
Are you sure about getting |
That was really good. I know it is not relevant but can I also ask how can I generate a nice UI output of a response like below because it is really hard to understand the response. I would normally like to see the original label names instead of f1..fn.
|
getModelDump accepts an optional argument mapping fN to human-readable values. |
I guess for what you say I need to generate featureMap in txt format. Do you know how can i generate it? def getModelDump(featureMap: String = null, withStats: Boolean = false, format: String = "text") |
@CodingCat This seems a jvm-package problem, and i encounted it too. |
This is not a bug but a question to understand. When I call getModelDump from the Booster object, I don't get as many trees as I have in "num_round" parameter. I was thinking if "num_round" is 100 then, XGBoost will generate 100 trees sequentially and I will see all these trees when I call getModelDump. I am sure there is a logical reason behind or my knowledge is wrong. Could you please explain why only 2 trees are printed instead of 100?
Versions are as below using scala 2.11
SOF link https://stackoverflow.com/questions/45707479/xgboost-doesnt-generate-as-many-tree-as-specified-in-the-num-round-parameter
The text was updated successfully, but these errors were encountered: