Problem with feedforwardnet toolbox for regression
Show older comments
I have a problem with MATLAB neural network toolbox for reggression! Please help if you know the solution to this issue!
Simply, when I feed 5 inputs and 2 targets, the connection between layers are removed and the training is not being carried out.
Please check the attachment .png picture. The code is as follows:
>> x = [1;2;3;4;5]; %input data
>> t = [6;7]; %target data
>> net = feedforwardnet(10,'traingd'); %network for regression
>> [net,tr] = train(net,x,t); %train
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!