how to built neural network for this problem using gui or code

hi i has this data set at input o=[0 5 10 15 20 25 30 ] and my target data which it two output t=[0.5 0.5 0.3 0.23 0.45 0.35 0.34 0.7 0.4 0.2 0.5 0.23 0.34 0.45] i want learn my network which it feed-forward with any algorithm 2 hidden layer and one output layer thank in advance m,s

 採用された回答

Greg Heath
Greg Heath 2012 年 11 月 22 日

0 投票

You only need 1 hidden layer. Therefore, I assume you mean H = 2 hidden nodes in that hidden layer. For an I-H-O feedforward network to be trained with N I-dimensional inputs and N corresponding O-dimensional outputs, your input matrix, x, and your target matrix, t sould have the following dimensions
[ I N ] = size(x)
[ O N ] = size(t)
See the documentation example for the rest
help fitnet
Hope this helps.
Thank you for formally accepting my answer.
Greg

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Deep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by