Technical requirements
This chapter intends to be a hands-on guide, like a quick start card that comes with a new device. The code presented in this chapter is available in this book’s GitHub repository: https://github.com/PacktPublishing/XGBoost-for-Regression-Predictive-Modeling-and-Time-Series-Analysis.
You will need the software and Python packages mentioned here to follow along with this chapter. You can install the Python packages using Anaconda. We’ve used conda-forge
as the package source:
- Python 3.9 (a virtual environment is recommended):
- XGBoost 1.7.3
- NumPy 1.21.5
- pandas 1.4.2
- scikit-learn 1.2.2
- Seaborn 0.12.2
- Anaconda
- Jupyter notebook
- VS Code
- The Iris dataset (public domain). For this chapter, you will access the dataset from scikit-learn. It is also available from http://archive.ics.uci.edu/ml/datasets/Iris.