How do I set the "userdata" parameter in a shallow neural network object?

1 回表示 (過去 30 日間)
Christopher Stokely
Christopher Stokely 2019 年 2 月 11 日
回答済み: Patel Mounika 2019 年 2 月 19 日
I have created a shallow neural network called "net" and I have noticed there is a descriptor property called "userdata" when I type "net" from the MATLAB command line.
netObjectMethodsAndProperties.JPG
I have checked the methods and properties of the "net" object but I have not been able to find how to set the "userdata" property. I need to store important meta-data in the "userdata" field but I have had no success in setting it. Does anyone here no how to set this property?

回答 (1 件)

Patel Mounika
Patel Mounika 2019 年 2 月 19 日
One possible solution is to create a struct object which contains details of the meta-data of the network and then assign it to the net.userdata.
>>s=struct('meta-data',’your information’);
>> net.userdata=s;
This might resolve your issue.

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by