Problem with anfis CLUSTERING
조회 수: 2 (최근 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에서 PID Controller Tuning에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!