Time Series Forecasting Using Deep Learning Example is wrong
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi
I´m new in use of Deep Learning toolbox.
I was try execute the example 'Time Series Forecasting Using Deep Learning'
but it has an error (Matrix dimensions must agree.) in line:
rmse = sqrt(mean((YPred-YTest).^2))
YPred and YTest don´t have the same dimensions, and then if i truncate rmse value, the code has other error (Vectors must be the same length.) in line:
plot(idx,[data(numTimeStepsTrain) YPred],'.-')
So, how i can solve this problem?
Thank you.
Regards.
2 comentarios
Mohammad Sami
el 30 de Mzo. de 2020
Did you accidently change something in the example. did you run from the beginning ? i dont get any error on mine
openExample('nnet/TimeSeriesForecastingUsingDeepLearningExample')
Respuestas (0)
Ver también
Categorías
Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!