How to validate value of K with PSO.

2 views (last 30 days)
Karthik K
Karthik K on 13 Aug 2018
Edited: Karthik K on 17 Aug 2018
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:
1. automatic identification method of k value for the dataset used. Which is the best method for this.? and also
2. by Using Particle Swarm optimization (PSO).
How i can proceed further. Your inputs are more important to me.

Answers (1)

Yuvaraj Venkataswamy
Yuvaraj Venkataswamy on 13 Aug 2018
  3 Comments
Karthik K
Karthik K on 14 Aug 2018
Yes Sir, these things i got to know and the above tutorials demonstrates this. But how to write for k means is my question. Searched a lot not able to find it sir.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by