January 2020
Intermediate to advanced
346 pages
9h 8m
English
The genetic algorithm-based search for the best hyperparameter values is implemented by the Python program, 02-hyperparameter-tuning-genetic.py, which is located at https://github.com/PacktPublishing/Hands-On-Genetic-Algorithms-with-Python/blob/master/Chapter08/02-hyperparameter-tuning-genetic.py.
The following steps describe the main parts of this program:
# [n_estimators, learning_rate, algorithm]:BOUNDS_LOW = [ 1, 0.01, 0]BOUNDS_HIGH = [100, 1.00, 1]
Read now
Unlock full access