HOW TO VIEW NO OF HIDDEN NEURONS IN A SAVED NETWORK?

I HAVE MADE A NETWORK AND SAVED IT. BUT KNOW I FORGOT THE NO O HIDDEN NEURONS AND LAYER THAT I USED TO CREATE IT. CAN ANYONE TELL ME HOW TO KNOW THAT

 Réponse acceptée

1. The net diagram
view(net)
2. I = size(input,1), O = size(target,1), Nw = net.numWeightElements
Assuming no input or feedback delays,
Invert Nw = (I+1)*H+(H+1)*O to obtain
H = (Nw-O)/(I+O+1)
3. Compare methods 1 and 2
Hope this helps.
Thank you for formally accepting my answer
Greg

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by