January 2020
Intermediate to advanced
346 pages
9h 8m
English
We start with a Python class encapsulating the classifier's accuracy evaluation, called HyperparameterTuningGenetic. This class can be found in the hyperparameter_tuning_genetic_test.py file, which is located at https://github.com/PacktPublishing/Hands-On-Genetic-Algorithms-with-Python/blob/master/Chapter08/hyperparameter_tuning_genetic_test.py.
The main functionality of this class is highlighted as follows:
n_estimators = round(params[0]) learning_rate = params[1] algorithm = ['SAMME',
Read now
Unlock full access