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'