Neural Network Question regarding matrix regression
3 次查看(过去 30 天)
显示 更早的评论
I'm new to neural networks.
How can I make a nonlinear regression fit ? My target is a data matrix.
I start nftool and I have Input and Target. What is the input ?
0 个评论
采纳的回答
Greg Heath
2013-5-14
x=linspace(0,400,5);
y=linspace(-10,10,11);
X = repmat(x,1,11);
Y = repmat(y,1,5);
Z=(tanh((X+20).*(Y-2)/200)-1)*3;
input = (X; Y);
target = Z;
Hope this helps.
Thank you for formally accepting my answer
Greg
0 个评论
更多回答(3 个)
Greg Heath
2013-5-7
The net represents a nonlinear mapping from I-dimensional input vectors to O-dimensional output vectors. The sizes of the input and target matrices are
[ I N ] = size(input)
[ O N ] = size(output)
Hope this helps.
Thank you for formally accepting my answer
Greg
0 个评论
Stephan Moeller
2013-5-14
编辑:Stephan Moeller
2013-5-14
1 个评论
Greg Heath
2013-5-14
Practice using nntool on MATLAB's demo/example data sets.
help nndatasets
Then try your data.
The only analytic form you can get from the net is a sum of tanh functions.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!