Gaussian membership function must have nonzero sigma value

39

Description

There is an error in ANFIS in MATLAB

In this tutorial, you get familiar with solving this error in MATLAB.

 

Gaussian membership function must have nonzero sigma value

 

This error happens when you want to use anfis function in MATLAB.

Start training ANFIS ...

1 -nan(ind)
2 -nan(ind)
3 -nan(ind)
4 -nan(ind)
5 -nan(ind)
6 -nan(ind)
7 -nan(ind)
8 -nan(ind)
9 -nan(ind)
10 -nan(ind)

Designated epoch number reached --> ANFIS training completed at epoch



Error using fismf/set.Parameters (line 217)
Gaussian membership function must have nonzero sigma value.

Error in anfis>createVar (line 428)
mf(j).Parameters = svar(i).mf(j).params;

Error in anfis>convertToObject (line 393)
obj.Inputs = createVar(s.input,numInputs);

Error in anfis>trainFIS (line 229)
t_fismat = convertToObject(t_fismat);

Error in anfis>anfisWithOptionalInputs (line 351)
[varargout{1:nargout}] = trainFIS(trn_data, in_fismat, t_opt, d_opt, ...

Error in anfis (line 69)
[varargout{1:nargout}] = anfisWithOptionalInputs(trn_data,varargin{:});

 

This error can happen also in Neuro-Fuzzy Designer,

 

 

In this tutorial, you will learn how to solve this error in MATLAB.

 

After buying, you will receive the download link for this tutorial video. 

 

Reviews

There are no reviews yet.

Be the first to review “Gaussian membership function must have nonzero sigma value”

Your email address will not be published. Required fields are marked *