newlind() network and adapt() training function

1 次查看(过去 30 天)
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 个评论
Greg Heath
Greg Heath 2018-1-12
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 2018-1-15
@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!

请先登录,再进行评论。

回答(1 个)

Greg Heath
Greg Heath 2018-1-11
Use the fitnet defaults.
adapt is not a default.
Greg
  2 个评论
Pkm
Pkm 2018-1-11
@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 2018-1-15
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.

请先登录,再进行评论。

类别

Help CenterFile 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!

Translated by