univariate time series prediction with artificial neural network
조회 수: 1 (최근 30일)
이전 댓글 표시
I am new to MATLAB and time series and need help. I have a two column data of electricity consumption (Date, Consumption in kWd). I need a MATLAB code or procedure to enable me predict consumptions. I have 154 days of data and I want to prediction each consumption and plot it on a graph (actual, predicted) and calculate the root mean squared error. Thanks.
댓글 수: 3
Kevin Chng
2019년 1월 4일
편집: madhan ravi
2019년 1월 4일
Sorry for my late reply,
(Actual - Predicted) % Errors
(Actual - Predicted).^2 % Squared Error
mean((Actual - Predicted).^2) % Mean Squared Error
RMSE = sqrt(mean((Actual - Predicted).^2)); % Root Mean Squared Error
채택된 답변
Kevin Chng
2019년 1월 4일
refer to the link : https://www.mathworks.com/help/deeplearning/ref/narnet.html. Replace the dataset with your dataset.
For Calculating RMSE,
RMSE = sqrt(mean((Actual - Predicted).^2));
댓글 수: 1
Parvathy ravindranath
2020년 12월 25일
Can any one help me solve timeforcasting using deep learning in OCTAVE
추가 답변 (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!