现在我这样做了,但它不适用于预测
import xgboost as xgb
model_xgb = xgb.XGBClassifier()
model = model_xgb.load_model('/content/drive/MyDrive/saved_models/model_xgboost_12.08.json')
X_model = model.predict(x_model)
X_model
现在我这样做了,但它不适用于预测
import xgboost as xgb
model_xgb = xgb.XGBClassifier()
model = model_xgb.load_model('/content/drive/MyDrive/saved_models/model_xgboost_12.08.json')
X_model = model.predict(x_model)
X_model