/K-Nearest-Neighbors

Predicting Outcomes of Anonymous/Classified Data Points

Primary LanguageJupyter Notebook

K-Nearest-Neighbors

Predicting Outcomes of Anonymous/Classified Data Points with 80% Accuracy

Data

pairplot

Original Data

          precision    recall  f1-score   support

       0       0.68      0.81      0.74       136
       1       0.81      0.69      0.75       164

accuracy                           0.74       300

Elbow Method to pick a good K Value

error_rate

Final Results with K(33)

          precision    recall  f1-score   support

       0       0.77      0.79      0.78       136
       1       0.82      0.80      0.81       164

accuracy                           0.80       300