Multiple input feedforward network
古いコメントを表示
I want to create a feedforward neural network with two input vectors and only one output vector. I've tried different things but I don't succeed.
I've tried:
P = [P1 P2];
net = newff(P,T);
But when I look at the architecture of the network it says:
numInputs: 1
Also when I try to train the network:
net = train(net,P,T);
I get the following error message:
??? Error using ==> network.train at 145
Targets are incorrectly sized for network.
Matrix must have 2 columns.
Error in ==> Problem1 at 90
net = train(net,P,T);
Is there anyone who can help me? I cannot seem to find a solution.
Maybe I should add: Both my input vectors (P1, P2) and also my target vector (T) have dimension [1000x1].
Jana
採用された回答
その他の回答 (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!