Time Series Forecasting Using Deep Learning Example is wrong
조회 수: 2 (최근 30일)
이전 댓글 표시
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
Mohammad Sami
2020년 3월 30일
Did you accidently change something in the example. did you run from the beginning ? i dont get any error on mine
openExample('nnet/TimeSeriesForecastingUsingDeepLearningExample')
답변 (0개)
참고 항목
카테고리
Help Center 및 File 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!