Neural Network Classification: cost function, regularization parameter, availability of the hidden layers...
3 ビュー (過去 30 日間)
古いコメントを表示
How do I derive the cost function J from a nn classification model?
How can I set a regularization parameter? Is this approached using your weights capability?
Are the hidden layer values available after modeling?
0 件のコメント
採用された回答
Greg Heath
2015 年 5 月 28 日
You cannot derive a cost function from a model.
You specify the cost function for a design.
If you are new at this, start out by accepting the NNToolbox defaults. First check out the relatively simple examples in the classification documentation
help patternnet
doc patternnet
Then search the NEWSGROUP and ANSWERS for posted examples. For example
greg patternnet
The default transfer functions are tansig (hidden layer) and softmax (output layer)
The "cost" function is crossentropy
Many questions on terminology and details can be obtained using the commands help, doc and type, e.g.,
help patternnet
doc patternnet
type patternnet
Hope this helps.
Thank you for formally accepting my answer
Greg
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!