Dealing with Imbalaced Data - Coding Portion - Typo on pred
Should be pred = clf.predict(X_test) and not pred = clf_ada.predict(X_test).
2 answers ( 0 marked as helpful)
thanks faith!
Why are you using accuracy for a significantly unbalanced dataset? I believe it was even told in one of the lectures that accuracy is a bad decision for such situation. Consider using F1