Problem with anfis CLUSTERING
2 views (last 30 days)
Show older comments
Hello all, I am trying to use genfis2 to create a FIS structure to be used by ANFIS. I am working with a set of data that is 3000x3. The first 2 columns are the inputs for genfis2 and last column is the output. Below is how I am using the genfis2 command, in_fis = genfis2(Xin,Xout,radii)
from what I understand, radii is a vector that determines the range of a cluster and xbounds are the min/max (to normalize the data) values in each column of data correct? Why am I getting "Warning: Rank deficient, rank = 0, tol = NaN. > In genfis2 at 179"
Start training ANFIS ...
1 -1.#IND
2 1.#QNAN
.
.
85 1.#QNAN
Designated epoch number reached --> ANFIS training completed
??? Error using ==> evalfismex Illegal parameters in fisGaussianMF() --> sigma = 0
Error in ==> evalfis at 84 [output,IRR,ORR,ARR] = evalfismex(input, fis, numofpoints);
Is it my input thats messed, anyone have any sage advice? Thank you.
2 Comments
Michael Bamidele
on 28 May 2024
If you had shown a part of your data it would have made it easier to debug. But it seems you have NaN (Not a Number) occurences which might mean your data had issues.
Answers (0)
See Also
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!