Last answered:

12 Jan 2023

Posted on:

11 Dec 2022

1

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)
Instructor
Posted on:

28 Dec 2022

0

thanks faith!

Posted on:

12 Jan 2023

0

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
image.png

Submit an answer