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

1 view (last 30 days)
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

Accepted Answer

Greg Heath
Greg Heath on 22 Nov 2012
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

More Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!