MrStack / PSO_FCM

A PSO+FCM algorithm
GNU General Public License v3.0
5 stars 1 forks source link

How execute this code? #1

Closed mehdi-salehi closed 4 years ago

mehdi-salehi commented 4 years ago

Hello Can you tell me how can I run psoSearchSeismic? What parameters?

MrStack commented 4 years ago

Hi, The first parameter is the normalized seismic dataset. It's an m*n matrix. The second parameter is the fitness function you designed. The third parameter is the number of particles, the population of PSO. The fourth parameter is the domain of your fitness function. The format has been described in the file. Parameters(w,c1,c2) of PSO should be pass to the last parameter('params') of psoSearchSeismic as a vector.

mehdi-salehi commented 4 years ago

Thanks.

mehdi-salehi commented 4 years ago

Hi again Is there any paper related to this repo? I can not understand some principals...

MrStack commented 4 years ago

Hi, This is a semifinished repo. Some of these scripts are temporary scripts. They are not maintained well. If you want to know a more general implementation of PSO, please see my newly uploaded file 'psoSearch.m'. It's similar to 'psoSearchSeismic.m'.

Or a better implementation of MATLAB: https://www.mathworks.com/help/gads/particleswarm.html?s_tid=srchtitle Theory: https://www.mathworks.com/help/gads/particle-swarm-optimization-algorithm.html There are some references about PSO at the bottom of this page.

And, the FCM algorithm, please refer to: Bezdek J C , Ehrlich R , Full W . FCM: The fuzzy c-means clustering algorithm[J]. Computers & Geosciences, 1984, 10(2-3):191-203.

mehdi-salehi commented 4 years ago

Thank you man.