I have a data set given as follows:
target shape (200000, 1)
train_data.shape (200000, 48)
test_data.shape(100000, 48)
I had used the data to predict_proba
using RandomForestClassifier
ExtraTreesClassifier
RandomForestClassifier
AdaBoostClassifier
GradientBoostingClassifier
and SVC
and got results without an error.
BUT
clf = XGBClassifier()
is showing following errors (with the same code except clf
):
ValueError: feature_names mismatch: