Fitted Parameters & Mathematical Equation for ANN and ANFIS
9 次查看(过去 30 天)
显示 更早的评论
I am trying to figure out how I can obtain the number of fitted parameters and the mathematical equation for both ANN and ANFIS models.
Neural Network Model:
- Feed-Forward Multi-layer Perceptron network with Back-Propagation
- Learning/Training Algorithm: Levenberg-Marquardt
- Transfer function(Hidden layer): Tan-Sig
- Transfer function(Output): Linear
- X's (inputs): 9 inputs
- Y (response): 1 response
- Number of nodes in the hidden layer: 15
- Best Validation performance obtained at epoch 7
Fuzzy Logic (2models):
- X's (inputs): 5 inputs
- Y (response): 1 response
- Subclustering: (Range of influence/radius=[0.5,0.6] - Squash factor [1000-2000] - Accept/Reject Ratios=1.25 - 6 rules*)
- Grid Partitioning: (Input membership function type='trapmf' - defuzzification method='wtaver' - 32 rules*)
0 个评论
回答(1 个)
Greg Heath
2017-6-21
MULTILAYER PERCEPTRON (MLP)
[ I N ] = size(input)
[ O N ] = size(target)
[ O N ] = size(output)
Ntrn = N-2*round(0.15*N) % No. of training inputs
Ntrneq = Ntrn*O % No of training equations
H = number of hidden nodes (single hidden layer)
I-H-O = topology of a single hidden layer MLP
Nw = (I+1)*H + (H+1)*O % No. of unknown weights
Nw > Ntrneq ==> Overfitting ==> H > Hub
Hub = (Ntrneq-O)/(I+O+1) % ub => upper bound
NOTE: Overfitting can lead to unstable iterative solutions.
In particular, overtraining an overfit net can lead to
poor generalization (i.e., poor performance on nontraining
data).
OVERFITTING MITIGATION
1. Ntrneq >= Nw (Don't overfit!)
2. Validation subset stopping (MATLAB default)
3. Bayesian Regularization (via trainbr)
ANALYTIC SOLUTION
output = B2 + LW*tanh(B1+IW*inputs)
Search both the NEWSGROUP and ANSWERS for details
SEARCH HITS
SEARCHWORDS NEWSGROUP ANSWERS
B1 B2 IW LW 73 208
B1 B2 IW LW GREG 45 145
Hope this helps
Thank you for formally accepting my answer
Greg
2 个评论
Greg Heath
2017-6-25
Sorry, have no time for this now.
However, I have posted zillions of examples in both NEWSGROUP and ANSWERS.
Hope this helps.
Greg
另请参阅
类别
在 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!