Technical requirements
You can continue using the same virtual environment that you set up earlier in this book since it already contains the necessary packages. The code samples for this chapter can be found in this book’s GitHub repository: https://github.com/PacktPublishing/XGBoost-for-Regression-Predictive-Modeling-and-Time-Series-Analysis.
For this chapter, you’ll be using the following tools and libraries:
- Windows Subsystem for Linux (WSL)
- Python 3.9
- XGBoost 1.7.3
- NumPy 1.21.5
- pandas 1.4.2
- scikit-learn 1.4.2
- Seaborn
- Anaconda
- VS Code
- Dask
- Docker
- Flask 3.0
- Gunicorn
Using Linux for Deployment
When deploying your XGBoost model, it’s advisable to use Linux for your container environment. Linux is the most widely adopted operating system for distributed computing and offers greater flexibility for deployment across multiple cloud providers. If you’re developing on a Windows-based machine...