newlind() network and adapt() training function

3 views (last 30 days)
Pkm
Pkm on 10 Jan 2018
Commented: Greg Heath on 15 Jan 2018
Is it possible to add another layer of neurons in newlind()? I'm using adapt() function for training the time series problem without any delay.
If its not possible to add! What other network i can use? Feedforward is throwing error as
--Error using + Matrix dimensions must agree.
Error in nn7.grad2 (line 95) gA{i} = gA{i} + LWderivP' * gLWZ{k,i};
  6 Comments
Greg Heath
Greg Heath on 12 Jan 2018
Why are you using adapt? The BEST approach is to FIRST try to use as many DEFAULTS as possible. After all, a group of expert developers carefully chose those values for good reasons.
Hope this helps.
Greg
Pkm
Pkm on 15 Jan 2018
@Greg, as i told . I have large number of input dimension(960). So if i use train(), which is default for fitnet, it shows
"array exceeds maximum dimension".
So i won't be able to use:(
True Story!

Sign in to comment.

Answers (1)

Greg Heath
Greg Heath on 11 Jan 2018
Use the fitnet defaults.
adapt is not a default.
Greg
  2 Comments
Pkm
Pkm on 11 Jan 2018
@Dr.Heath I have 1*3200 cell array for each cell array 960*1 inputs . Same applies to targets. So using defaults will throw Error as my array size exceeds the limit. I have no choice then to use adapt().
My 960*1 corresponds to 20ms .wav signal. So i can't change that.
Greg Heath
Greg Heath on 15 Jan 2018
Yes you can:
By using dimensionality reduction. Do you think that all 960 variables are independent of the others?
The most common technique is PRINCIPAL COMPONENT ANALYSIS (PCA) which uses a smaller number of principal components that are linear combinations of the original inputs.
Another technique is PARTIAL LEAST SQUARES (PLS)which is used infrequently because it is less known ... presumably because it involves transforming both outputs and inputs.

Sign in to comment.

Categories

Find more on Sequence and Numeric Feature Data Workflows 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!