Matlab(ANFIS)培训错误

时间:2016-09-16 16:53:57

标签: matlab artificial-intelligence fuzzy-logic

我有一个Sugeno 2输入 - 1输出模糊系统,每个规则5mfs,输出5mfs。但是,每当我尝试训练它时,我都会收到以下错误:

enter image description here

如您所见,规则数和输出成员函数数相同。我也在下面发布控制台输出。

ANFIS info: 
Number of nodes: 23
Number of linear parameters: 9
Number of nonlinear parameters: 12
Total number of parameters: 21
Number of training data pairs: 2084
Number of checking data pairs: 0
Number of fuzzy rules: 3


Start training ANFIS ...

   1     0.0163803
   2     0.0163785

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

Too many outputs requested.  Most likely cause is missing [] around left hand side that has a comma
separated list expansion.

Error in fisgui (line 91)
        name=nameList{currGui};

Error in mfedit (line 669)
        fisgui #findgui

Error in mfedit (line 602)
            mfedit #selectvar

Error in mfdlg (line 296)
    mfedit('#update',varType,varIndex)

Error using waitfor
Error while evaluating DestroyedObject Callback

我对Matlab比较陌生,所以如果我问一些微不足道的话,我会非常抱歉。

1 个答案:

答案 0 :(得分:0)

最后我发现,遗憾的是,为了训练模糊系统,你不能对不同的前因产生相同的结果;而且我有这样的规则。但是,当您想要训练具有许多输入隶属函数的模糊集时,这非常不方便。