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

 Accepted Answer

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

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 13 Feb 2014

Answered:

on 15 Feb 2014

Community Treasure Hunt

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

Start Hunting!