フィルターのクリア

How to validate value of K with PSO.

1 回表示 (過去 30 日間)
Karthik K
Karthik K 2018 年 8 月 13 日
編集済み: Karthik K 2018 年 8 月 17 日
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.

回答 (1 件)

Yuvaraj Venkataswamy
Yuvaraj Venkataswamy 2018 年 8 月 13 日
  3 件のコメント
Yuvaraj Venkataswamy
Yuvaraj Venkataswamy 2018 年 8 月 14 日
@Karthik, In reference code, they are using sphere equation as cost function or objective function. In your work, You have take your equation which you want to optimize. PSO parameters are variables which you can adjust, no issues. Initially, the best value is varied by increasing the iteration. After some iteration, the value is attained consistent if you increase large number of iteration.
Karthik K
Karthik K 2018 年 8 月 14 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeParticle Swarm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by