Technical requirements
We will learn how to implement various hyperparameter tuning methods with DEAP and Microsoft NNI. To ensure that you are able to reproduce the code examples in this chapter, you will require the following:
- Python 3 (version 3.7 or above)
- Installed
pandas
package (version 1.3.4 or above) - Installed
NumPy
package (version 1.21.2 or above) - Installed
SciPy
package (version 1.7.3 or above) - Installed
Matplotlib
package (version 3.5.0 or above) - Installed
scikit-learn
package (version 1.0.1 or above) - Installed
DEAP
package (version 1.3) - Installed
Hyperopt
package (version 0.1.2) - Installed
NNI
package (version 2.7) - Installed
PyTorch
package (version 1.10.0)
All of the code examples for this chapter can be found on GitHub at https://github.com/PacktPublishing/Hyperparameter-Tuning-with-Python/blob/main/10_Advanced_Hyperparameter-Tuning-via-DEAP-and-NNI.ipynb.