MATLAB: For loop index is too large when learning with anfis

anfisfor loopimage processingmachine learningMATLAB

I have data 7×108 for input. And 7×1 for target. When i try to run it, it got "Warning about for loop index is too large. Truncating to 9223372036854775807".
trnData = [input,target];
numMFs = 2;
mfType = 'gbellmf';
fismat = genfis1(trnData,numMFs,mfType);
How i can fix this problem, so i can make it learn with anfis? Thank you

Best Answer

numMFs is the number of membership function per input. Your data has 108 columns so it has 108 inputs. Total number of membership functions is 2^108 .
You should be passing in the transpose of input -- and I do not think you should be including the target information with that.
Related Question