kNN seems problematic since training accuracy is low to 50%. Btw, simplify an instruction in logistic regression.