I have a problem in load xgboost model .
when I save my xgboost model using model.save_model("xgbt.bin")
and try to load it by this code :
load_model=xgboost.Booster.load_model("xgbt.bin")
then I print the type of load_model by this
print(type(load_model))
and it's print <class 'NoneType'>
also when I try prediction=load_model.predict(api_data)
I occured this error :
AttributeError: 'NoneType' object has no attribute 'predict'
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…