machine learning - kNN result on same distant datapoints with opposed classes -


using 1-nn , 3-nn (euclidean distance knn) in conjunction using leave_one_out cross validation, cv error on data points? note error of each written in parentheses

image of datapoints=two class case

1) 1-nn(0.1) , 3-nn(0.1)

2) 1-nn(0.1) , 3-nn(0.5)

3) 1-nn(0.5) , 3-nn(0.1)

4) 1-nn(0.5) , 3-nn(0.5)

apparently right answer 3-rd one, i’m baffled , can’t figure out why? can explain how?


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -