Skip to content

A simple " Time series forecasting " model makes future predictions based on csv data

License

Notifications You must be signed in to change notification settings

TranThanhTuan2509/Time-Series-Forecasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[PYTHON] TIME SERIES FORECASTING

Introduction

The strategy to predict

  • Recursive method image
  • Direct method image

Preprocessing

  • This dataset currently comprises only 2 columns, so you need to add more columns behind CO2 columns to be suitable with the 2 methods above. The number of columns to be added depends on your specific requirements.
  • All Time-information columns have to change the datatype to "Datetime".
  • Here is the data virtualization before handling missing data: image
  • As you can see, the data follows a pattern, so you do not have to handle the missing data by using simple imputation or filling it with a specific value. The only way to handle this is by using the interpolation method
  • Here is the data virtualization after using the interpolation method: image
  • In time series forecasting, the train-test-split method should not be used during training because time series data has continuous properties, whereas train-test-split randomizes the data

Requirement

  • Pandas
  • sk-learn

About

A simple " Time series forecasting " model makes future predictions based on csv data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages