Problem with anfis CLUSTERING
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
Michael Bamidele
2024-5-28
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Clustering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!