I am working on neural networks using matlab 2011

1 view (last 30 days)
The .mat file are the data i have trained. After training the data, the net file is created in the workspace.But, the values,connections,dimensions etc..are not updated in the 'net' file. How do i update the net file?..please help me. I am struggling a lot with this..many thanks.

Accepted Answer

Abhiram Bhanuprakash
Abhiram Bhanuprakash on 30 Oct 2014
Hi,
I was able to see the updated net. I think you feel that it is not updated since you do not see the fields like dimensions, connections, subobjects, etc. in the Variable editor.
However, if you type:
>> net
in the MATLAB Command Window, you would see all the properties. You can also fetch properties. For example, in your case, typing the following line in the Command Window:
>> net.LW
would give you a 2X2 cell with the cell at position {2,1} being updated with the layer weights.
Similarly, you can get the other weights by
>> net.IW
and
>> net.b
For more information on the properties of network objects, refer to the documentation here
Hope this helps,
Cheers!
Abhiram
  1 Comment
Interest Academics
Interest Academics on 31 Oct 2014
Thanks for your reply..I am working on matlabR2011a. Did you work on the same version?awaiting your reply Abhiram

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!