I keep getting AttributeError: 'XGBClassifier' object has no attribute 'save_raw' error


Hey guys, I’m trying to run xgboost on ubuntu, I’ve installed everything required skilearn kit, xgboost etc. but I keep running into this issue. It gives me error in line 38 of this file https://github.com/dmlc/xgboost/blob/master/python-package/xgboost/training.py I have the latest version of both python an dxgboost installed. Can someone help me resolve this issue? I’ve been stuck on this thing since yesterday.


Are you setting xgb_model argument when calling train()?