Error in evolutionary ANFIS training in MATLAB
古いコメントを表示
I am getting the following error while training ANFIS using Particle Swarm Optimization (PSO):
Error using fismf/set.params
Gaussian membership function must have positive sigma value.
Error in SetFISParams (line 21)
fis.input(i).mf(j).params=p(1:k);
Error in TrainFISCost (line 26)
fis=SetFISParams(fis,p);
Error in TrainAnfisUsingPSO>@(x)TrainFISCost(x,fis,data) (line 20)
Problem.CostFunction=@(x) TrainFISCost(x,fis,data);
Error in TrainAnfisUsingPSO>RunPSO (line 106)
particle(i).Cost=CostFunction(particle(i).Position);
Error in TrainAnfisUsingPSO (line 32)
results=RunPSO(Problem,Params);
I have attached the following functions used in the code. Kindly guide me how to resolve the issue?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Particle Swarm についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!