I am using AdaBoost Classifier to predict values I have. How can evaluate the accuracy of prediction model (I'd like to see how the accuracy of predicted values).
You can check an example here: http://scikit-learn.org/stable/modules/ensemble.html#usage
I found two options : using confusion matrix
from sklearn.metrics import confusion_matrix
cm = confusion_matrix(expected, y_1)
or using cross val score
scores = cross_val_score(clf_1, X_train, y_train)
print scores.mean()
There is also: AdaBoostClassifier.staged_score(X, y) AdaBoostClassifier.score(X, y)
So, I am little bit confused.
One last question: Should I use predict() or predict_proba().