Technical requirements
To effectively follow along with the code examples and exercises in this chapter on time series modeling, you will need to have the following Python libraries. All code examples and datasets used in this chapter are available on our GitHub repository at https://github.com/PacktPublishing/XGBoost-for-Regression-Predictive-Modeling-and-Time-Series-Analysis/blob/main/ch9/xgboost_timeseries_forecasting.ipynb.
You will need the following Python packages:
- pandas 1.4.2
- NumPy 1.21.5
- XGBoost 1.7.3
- scikit-learn 1.2.2
- Matplotlib