From 8db3fa100a8f74dbc458dd3540fb7eefab1103de Mon Sep 17 00:00:00 2001 From: Jayasurya Marasani Date: Sun, 21 May 2023 11:38:46 +0530 Subject: [PATCH] Update Knn.py I added comments to the lines 71, 113, 139. So if the changes are correct, then accept the proposed changes --- Knn.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Knn.py b/Knn.py index 0259eeb..30d46b0 100644 --- a/Knn.py +++ b/Knn.py @@ -68,7 +68,7 @@ # #avg / total 0.90 0.90 0.90 300 -Choosing a K Value +#Choosing a K Value #Let's go ahead and use the elbow method to pick a good K Value: @@ -110,7 +110,7 @@ print('\n') print(classification_report(y_test,pred)) -WITH K=1 +#WITH K=1 #[[125 18] # [ 13 144]] @@ -136,7 +136,7 @@ print('\n') print(classification_report(y_test,pred)) -WITH K=23 +#WITH K=23 #[[132 11]