Weights after training
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am trying to train a neural network with Input values and targets. However after training the network I want to be able to view the weights (values) after the training so I will be able to compare them from the initial weights.
How do I do this? I have been using the method net but it does not give me the actual values after training.
0 commentaires
Réponse acceptée
Plus de réponses (2)
mohammed
le 1 Avr 2011
you can access the weight using the following code
InputWeight=net.IW LayerWeight=net.LW Bias=net.b
0 commentaires
Hessam
le 30 Juin 2011
for my case I created the Mfile from the gui. and then modified it to train a network using traingda function(varying learning rate). the function name in mfile is as follows: function net = HHR2(inputs,targets) ...... what should I type on the command window to access the weights? this one doesn't work: net.IW or HHR2(pn,tn).IW (pn and tn are the data included in my folder)
Thanks
0 commentaires
Voir également
Catégories
En savoir plus sur Define Shallow Neural Network Architectures dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!