- Number of parameters can be altered depending on the difference between test score and training score. Also, keeping in mind the complexity(non-linearity) of the data. (Bringing down the num of parameters in case of simpler problems)
- Dropout neurons: adding dropout neurons to reduce overfitting.
- Regularization: L1 and L2 regularization.
Simple time-series forecasting fails
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
I followed this guide https://uk.mathworks.com/help/deeplearning/ug/time-series-forecasting-using-deep-learning.html to forecast time-series. This example works quite well on the dataset used. However, if I change the first two lines
data = chickenpox_dataset;
data = [data{:}];
into this
data=linspace(0,100,1000);
I expect a much better prediction given the simplicity of the problem (i.e. just a straight line to be continued in the future).
However, the result is completely off.
I am wondering, how could this be? How do I generalize this network to solve simple linear problems ?
댓글 수: 0
답변 (1개)
Puru Kathuria
2021년 5월 11일
There are certain aspects that control the degree of overfitting and generalization.
After you have trained the network, you can successfully use that same network to perform prediction on other datasets(simple/complex). This process will be termed as transfer learning.
댓글 수: 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!