Open meakbiyik opened 4 years ago
Please provide a fully reproducible example using the latest xgboost version. Some things may have changed.
@RAMitchell Sorry about it, I tried to reproduce the error with the same configuration (but a different dataset) on Windows but I failed. Therefore I imagine it's either a problem with the dataset, or the xgboost in the system. However, I am unable to use the latest xgboost version in z/OS because I do not manage the package, and it is a real hassle to compile xgboost for mainframe.
Can you explain to me why that error is raised under normal circumstances, so I can start debugging it or may forward it to people who can debug it? I can provide the updates here afterwards.
NEW INFO: Okay I tried the same thing on z/OS with that other dataset (iris basically) and it worked. So I imagine it is a dataset issue, and has nothing to do with the platform itself. The main problem persists though: I have no idea what that error means, therefore I am unable to debug it (I unfortunately cannot provide you the dataset either).
@meakbiyik The error the weight is being zero. Could you plot the tree? If you can upgrade XGBoost to 1.0.2, saving the model to JSON is also very helpful. I can try to reproduce a similar model.
@trivialfis I plotted the tree with ordinal number 0 as below:
And here is the json dump of the model (there was a dump_model() function in 0.82 so I used it):
I hope these may help you resolve the issue.
I realized that I did something slightly illogical, sent you only the base model but not the failed output (basically the state of the model before outputting the error). Tree for that makes more sense:
and the json is here:
Hi, I have a xgboost model that I need to slightly fine tune for new datasets that it encounters, so I want to use the refresh updater (in python, via XGBClassifier object). However, I encounter an error that I do not understand:
Here's the code:
There might be several layers that instigated the problem, but I cannot start unraveling them until I understand what that means to be honest. First layer is that I am working in z/OS (IBM Mainframe), so the encoding is EBCDIC (I imagine that's the reason for byte encoding problems in the error itself).
xgboost version: 0.82
Sorry for the obscurity and thanks a lot in advance!