Xgboost-ValueError: Please reshape the input data X into 2-dimensional matrix in python

前端 未结 0 570
南笙
南笙 2021-02-08 03:26

I use XGBoost Algortihm for text mining but in below code I keep getting an error.

from xgboost import XGBClassifier
from numpy import *
xgb=XGBClassifier()
xgb.f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题