jschulberg / Dog-Returns

A data science analysis to classify whether or not an adopted dog will be returned.
0 stars 0 forks source link

Classification: KNN #40

Closed jschulberg closed 2 years ago

jschulberg commented 2 years ago

Apply k-Nearest Neighbors to classify returned vs. not returned.

jschulberg commented 2 years ago

I tested various values for k from 1 to 15 (odd values only) and found a maximum accuracy at k = 1.

image

jschulberg commented 2 years ago

After applying a ‘k’ value of 1 on our entire test dataset, we found a much higher overall accuracy for our dataset:

rkelley05 commented 2 years ago

PCA classifier boundary plotting completed, but doesn't give great insight into classifier