philipperemy / keras-tcn

Keras Temporal Convolutional Network.
MIT License
1.87k stars 454 forks source link

How do I use the trained model to make predictions about the future? #177

Closed SharkFin-top closed 3 years ago

SharkFin-top commented 3 years ago

This page TimeSeries Foresting

https://colab.research.google.com/github/ashishpatel26/tcn-keras-Examples/blob/master/TCN_TimeSeries_Approach.ipynb

image

This graph shows the model predictions compared to the true values of the training data. How do I use the trained model to make predictions about the future?

For example, the training data is 1962-2019 month data. Use the training data to train the model. What about using the model to predict the data for the next 12 months?

Thank you!

psomers3 commented 3 years ago

Maybe this can help you understand how to use trained models for prediction. An lstm network is used the same as a TCN.

SharkFin-top commented 3 years ago

Maybe this can help you understand how to use trained models for prediction. An lstm network is used the same as a TCN.

Thank you so much!

philipperemy commented 3 years ago

Thanks guys :) I'll close this issue.