title: How to find the best value of k For the k-NN?
body: <p>I have 4 different datasets and Each dataset contains two-dimensional samples that belong to one of the two classes: 1 or 2. The class labels (1 or 2) for each sample are located in the last column. The first and second columns contain the coordinates of the 2D points that represent the samples. My task is,</p>
  
  <ol>
  <li>For the k-NN find the best value of k, and compare it with those of 1-NN using Scikit</li>
  </ol>
  
  <p>I am new to machine learning and python. please let me know how to find the best k and based on which measure we have to choose best k.</p>