multiple input/output problem in ANN
2 views (last 30 days)
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?
0 Comments
Accepted Answer
Greg Heath
on 18 Mar 2012
You can use NEWFF or NEWRB. The former is probably easier.
I do not understand the last sentence because you are not using proper terminology.
1. Reread my comments on standard terminology
2. Rephrase your question in terms of the input and output size formulas that I gave.
1 Comment
Greg Heath
on 18 Mar 2012
N = sample size
I = input vector dimensionality
O = target and output vector dimensionality
Hope this helps.
Greg
More Answers (2)
Greg Heath
on 15 Mar 2012
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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!