Error message as in the title. It doesn’t make sense to me, per my code below:
<code>clf = xgboost.XGBClassifier(verbosity=1)
print (clf.__class__, clf.verbosity)
# prints <class 'xgboost.sklearn.XGBClassifier'> 1
clf.fit(X=train_data_iter[features].fillna(0), y=train_data_iter['y']) # the error is raised here
</code>
<code>clf = xgboost.XGBClassifier(verbosity=1)
print (clf.__class__, clf.verbosity)
# prints <class 'xgboost.sklearn.XGBClassifier'> 1
clf.fit(X=train_data_iter[features].fillna(0), y=train_data_iter['y']) # the error is raised here
</code>
clf = xgboost.XGBClassifier(verbosity=1)
print (clf.__class__, clf.verbosity)
# prints <class 'xgboost.sklearn.XGBClassifier'> 1
clf.fit(X=train_data_iter[features].fillna(0), y=train_data_iter['y']) # the error is raised here
The value is clearly 1, but it somehow gets -1? I don’t get it.
1