what is the meaning of this '-1.#IND ' ?---actually i am getting t his when i am performing anfis and command window shows Start training ANFIS ... 1 2.82336 -1.#IND
2 次查看(过去 30 天)
显示 更早的评论
Start training ANFIS ...
1 2.82336 3.28319
2 -1.#IND -1.#IND
Designated epoch number reached --> ANFIS training completed at epoch 2.
ANFIS info:
Number of nodes: 910
Number of linear parameters: 452
Number of nonlinear parameters: 678
Total number of parameters: 1130
Number of training data pairs: 872
Number of checking data pairs: 522
Number of fuzzy rules: 113
Warning: number of data is smaller than number of modifiable parameters
Start training ANFIS ...
1 2.82336 3.28319
2 -1.#IND -1.#IND
what is the meaning of " -1.#IND "?
0 个评论
采纳的回答
Walter Roberson
2018-2-10
-1.#IND is a NaN printed out by one of the more common MS Windows libraries. https://stackoverflow.com/questions/347920/what-do-1-inf00-1-ind00-and-1-ind-mean
Notice that (for whatever reason) ANFIS thinks you have 452 linear parameters and 678 nonlinear parameters for a total of 1130 parameters, but that you have only 872 training data pairs. That leaves you with more parameters than data pairs: when you have more parameters than available data, it is not uncommon for algorithms to end up computing nan (especially if the algorithm uses some kind of matrix inverse.)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!