Problem with feedforwardnet toolbox for regression

1 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by