Elman Neural Network (ENN)

2 visualizzazioni (ultimi 30 giorni)
Abdul Ghaffar
Abdul Ghaffar il 14 Giu 2019
Risposto: Greg Heath il 16 Giu 2019
@ all.
I have 1728 observation. First 1296 are from training data and the rest 432 observations are for testing data. Now, I am going to apply Elman Neural Network (ENN) on the data for forecasting. I am facing problem on arranging data, how to arrange data for training and test. I apply code and this error occur
"Error using network/train (line 340), Input data size does not match net.inputs{1}.size., Error in chapter23 (line 84), net=train(net,p_train,t_train); "

Risposte (1)

Greg Heath
Greg Heath il 16 Giu 2019
size(P_TRAIN) = [ 1296 1728]
size(T_TRAIN) = [ 432 1728]
Hope this helps.
*Thank you for formally accepting my answer*
Greg

Categorie

Scopri di più su Networks in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by