Error using genfis function in Grid Partitioning

4 vues (au cours des 30 derniers jours)
NATALIA ARREGUI GONZALEZ
NATALIA ARREGUI GONZALEZ le 29 Mar 2020
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

Réponse acceptée

Dhananjay Kumar
Dhananjay Kumar le 31 Mar 2020
Check with this function to check if the issue is related to the data: mustBeFinite
  3 commentaires
Dhananjay Kumar
Dhananjay Kumar le 1 Avr 2020
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 le 3 Avr 2020
Many thanks for your help, this worked.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Fuzzy Logic Toolbox dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by