MATLAB: Error using genfis function in Grid Partitioning

anfisforecastingFuzzy Logic Toolboxfuzzylogicgenfistime series

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

Best Answer

Check with this function to check if the issue is related to the data: mustBeFinite
Related Question