Closed pgagarinov closed 3 years ago
Sorry this dropped off my radar. Maintaining over a dozen packages at the moment.
@pgagarinov Any chance you could make a PR for this. Your probably more familiar with the current XGBoost interface than I am. 🙏
Thanks by the way for reporting and for your diagnosis, which is already helpful.
XGBoost doesn't work correctly when y is specified as a categorical array with two values:
In such cases the following code breaks
with the following message:
I suspect that this problem is in these line that do not work correctly for newer versions of XGBoost: