AttributeError: ‘XGBClassifier‘ object has no attribute ‘_le‘

一、問題背景 使用XGB原生接口執行分類任務,並且使用xgb_model.save_model()保存模型,使用xgb_model.load_model()加載模型後,使用predict進行測試集預測報此錯誤。 二、網上解決方案 https://github.com/dmlc/xgboost/issues/2073 https://stackoverflow.com/questions/63347
相關文章
相關標籤/搜索