How can I train ANFIS using Firefly Algorithm

조회 수: 16 (최근 30일)
Nhu Hien
Nhu Hien 2013년 4월 4일
댓글: AC 2022년 3월 30일
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일
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
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by