title: How to validate value of K with PSO
body: <p>I am creating bag of visual words using bagOfFeatures() function for my dataset. Here I wanted to know for how many number of clusters do I get a good accuracy value., so I kept changing the values of k from 50 to 400 in steps of 50. like {50,100,150,200,250 ..... 400}. and i get a good accuracy at k=250. This k value I want to validate it with other methods like:</p>
  
  <ol>
  <li><p>automatic identification method of k value for the dataset used. Which is the best method for this.? and also</p></li>
  <li><p>by Using Particle Swarm optimization (PSO).</p></li>
  </ol>
  
  <p>How i can proceed further. Your inputs are more important to me.</p>