If ntstool use test set values to predict further values?
이전 댓글 표시
Hi !
I use Matlab ntstool toolbox to predict time series forecasting. Ntstool gives me suspiciously good results. For example for load ice_data and train,valid,test ratio 0.55/0.15/0.3 show me MSE equal to (more or less) 0.015 when I try to forecast using Neural Network manually I get MSE qual to (more or less) 2.45. Similarly using ARIMA method I MSE 1.3. Error of ARIMA depends of course of parameters of the model but I would like to present order of magnitude.
On this background results returned by ntstool look very suspicious. This is why I would like to ask the question if ntstool use test set values to predict further values and calculate MSE? I mean.. do ntstool predict values that way that:
1. Use neural network to predict value, then put this value to neural network as an input, then predict another value, put predicted value to neural network as an input and repeat that process till the end. or
2. Use neural network to predict value, then put as an input CORRESPONING value from TEST SET to neural network as an input, then predict another value, put CORRESPONING value from TEST SET to neural network as an input and repeat that process.
In first case error accumulate from first prediction to the last otherwise in second case input is updated to correct value on every step. Which method use by default nstool ?!
Thanks in advance for replying :) ! Janek
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!