multiple input/output problem in ANN
Show older comments
So I have 1000 cases, in each case i have the input parameters with 10 samples and 9 element (10X9)like a cell array with this form:
P =
{1x9 cell}
{1x9 cell}
{1x9 cell}
{1x9 cell}
{1x9 cell}
{1x9 cell}
{1x9 cell}
{1x9 cell}
{1x9 cell}
{1x9 cell}
and {1X3} =output cell array for each case, I am trying apply the inputs/outputs in nftool, but its showing me sample mismatch error. Can you please suggest how to work with multiple inputs/outputs in ANN?
Accepted Answer
More Answers (2)
Greg Heath
on 15 Mar 2012
0 votes
Your notation is confusing. Conventional statistics terminology considers a sample as a subset of a population of multidimensional measurements or cases.
To design a FFMLP with I-H-O topology, the data sample contains N pairs of I-dimensional inputs and O-dimensional target outputs stored in input matrix, p, and target matrix, t:
[ I N ] = size(p)
[ O N ] = size(t)
I am guessing that, for your problem
N = 1000
I = 90
O = 3
Is that correct? If so, just see the examples in the documentation. However, I suspect that you can characterize your inputs in vectors with much smaller dimensions.
For regression, consider PCA (Principal Component Analysis) for dimensionality reduction whereas PLS (Partial Least Squares) is probably better for classification.
Hope this helps.
Greg
Tomaloka Chowdhury
on 16 Mar 2012
0 votes
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!