I should have printed out my response variable. The categories were labelled as 1 and 2 instead of 0 and 1, which confused the classifier.
I should have printed out my response variable. The categories were labelled as 1 and 2 instead of 0 and 1, which confused the classifier.