How can I train ANFIS using Firefly Algorithm

Good afternoon everyone,
For training ANFIS with Matlab fuzzy logic toolbox, we can either choose backprpagation or Hybrid method as given here http://www.mathworks.com/help/toolbox/fuzzy/anfis.html under 'optMethod'. But I want to train my ANFIS with Firefly Algorithm (FA) method. And I'm not able to figure out how I can implement my FA algorithm as a training method in ANFIS as I can't find if there is anyway to customize anfis training.
Please help me on how can I train my anfis with my FA method.
Thank you for your help !

回答 (1 件)

Yarpiz / Mostapha Heris
Yarpiz / Mostapha Heris 2015 年 9 月 12 日

2 投票

You can use following codes together, to train ANFIS using Firefly Algorithm.
Evolutionary ANFIS Training:
Firefly Algorithm:
In the first item, the ANFIS training is performed by real-coded Genetic Algorithm (GA) and Particle Swarm Optimization (PSO). You can simply integrate the second item, with the first one, due to structured implementation of these projects, and similarities between PSO and FA.

5 件のコメント

valentino febrian
valentino febrian 2017 年 4 月 13 日
thanks, your answer really help
Theophilus Wereko
Theophilus Wereko 2020 年 3 月 13 日
can you help me change the Fis type to genfis1 and how it will affect the codes
Noureen Talpur
Noureen Talpur 2021 年 3 月 6 日
Evolutionary ANFIS Training:
This algorithm is with time series dataset. Please do you have ANFIS-PSO model with calssification dataset?
Gamal Aburiyana
Gamal Aburiyana 2022 年 2 月 6 日
interested :)
AC
AC 2022 年 3 月 30 日
I run with matlab r2021b but it says "Starting GA ..." and "Starting PSO" but nothing is happening. :( or getting same results.
Starting GA ...
Iteration 1: Best Cost = 43.2644
Iteration 2: Best Cost = 43.2644
Iteration 3: Best Cost = 43.2644
Iteration 4: Best Cost = 43.2644

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

カテゴリ

ヘルプ センター および File ExchangeFuzzy Logic Toolbox についてさらに検索

質問済み:

2013 年 4 月 4 日

コメント済み:

AC
2022 年 3 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by