Question

I installed XGBoost for anaconda on windows 10 based on the instructions provided here. It seems that xgboost 0.6 is already installed. It performs well using "reg:linear". However, if I use "reg:tweedie", this error is reported:

xgboost.core.XGBoostError: b'[23:08:27] src/objective/objective.cc:21: Unknown objective function reg:tweedie'
Was it helpful?

Solution

As I understood, it is a versioning issue. However, it should be noted that before installing the latest version, the old version should be manually removed. Then, try to install the new version.

Licensed under: CC-BY-SA with attribution
Not affiliated with datascience.stackexchange
scroll top