Error using genfis function in Grid Partitioning

조회 수: 6 (최근 30일)
NATALIA ARREGUI GONZALEZ
NATALIA ARREGUI GONZALEZ 2020년 3월 29일
댓글: NATALIA ARREGUI GONZALEZ 2020년 4월 3일
Hello guys,
I am trying to conduct a Time Series Prediction using ANFIS.
When I use the genfis function, I get the following error when I work with both Grid Partitioning and Substractive Clustering FIS:
Error using genfis>validateXin (line 90)
Expected Xin to be finite.
Error in genfis (line 49)
validateXin(Xin);
My input is formed by 8 variables with 52584 observations each. I have read that this error may be caused by lack of memory in the computer.
I would highly appreciate it if anyone knew if the problem may be caused by something else, or how could I solve it. I am learning to use Fuzzy Logic in Matlab and I would be grateful for any help.
I have the Fuzzy Logic Designer and Neuro-Fuzzy Designer Toolboxes.
Many thanks,
Natalia

채택된 답변

Dhananjay Kumar
Dhananjay Kumar 2020년 3월 31일
Check with this function to check if the issue is related to the data: mustBeFinite
  댓글 수: 3
Dhananjay Kumar
Dhananjay Kumar 2020년 4월 1일
Hi Natalia,
You can check the finiteness with mustBeFinite function like this:
>> a = mustBeFinite(Inputs)
Then value of a will be either true or false depending on the data in the Inputs.
NATALIA ARREGUI GONZALEZ
NATALIA ARREGUI GONZALEZ 2020년 4월 3일
Many thanks for your help, this worked.

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by