不是很懂这个ERROR什么意思请大神解答一下
TypeError: fit() got an unexpected keyword argument1个回答
你的fit里的那个categorical_feature是不应该有的,因为fit()里就没有这个参数。
官方的文档里只有下面几个参数
fit(X, y, sample_weight=None, eval_set=None, eval_metric=None, 
early_stopping_rounds=None, verbose=True, xgb_model=None)建议你把categorical_feature这个去掉再试试。
				懂了 谢谢!
				- 
             mantora
           
				
          
          2018-03-25 12:17
			
    
  相关讨论
  随便看看