liveBook · Manning

Hyperparameter

As explained in Ensemble Methods for Machine Learning

A hyperparameter is a configuration value selected before or outside the fitting of a machine-learning model.

A hyperparameter is a configuration value chosen before or outside model fitting. It shapes how training proceeds or how complex the resulting model can become, rather than being learned directly from the training examples. section 5.5.2 section 8.2.3

Common hyperparameters control several practical aspects of training:

Rather than guessing one configuration, compare candidates with cross-validation. GridSearchCV exhaustively evaluates a specified grid; RandomizedSearchCV samples fewer combinations when exhaustive search is costly. With refit enabled, the selected configuration trains a final model on all available training data. section 5.5.2 section 4.4.2

CatBoost configuration search

A CatBoost classifier searches depth values 1 and 3, iteration counts 5, 10, and 15, and learning rates 0.01 and 0.1 using five-fold cross-validation. The reported best combination is depth 3, 15 iterations, and learning rate 0.1. Separately, an evaluation set with early_stopping_rounds=5 can stop training when additional iterations no longer provide significant improvement. section 8.2.3

How Ensemble Methods for Machine Learning covers it

How deep it goes
Explains named parameters, their operational effects, cross-validation search, refitting, and early stopping across boosting libraries.
Examples
Uses LightGBM, CatBoost, and AdaBoost searches with tree, iteration, learning-rate, sampling, and regularization settings.
What you can do after
Apply it via scikit-learn, LightGBM, or CatBoost search utilities to compare configurations and refit a selected model.
How it connects
Connects hyperparameters to model training, cross-validation, learning rate, regularization, ensemble methods, and overfitting.

Also explained in

Compare how 19 books explain hyperparameter →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Ensemble Methods for Machine Learning. The section links point to the parts of the book it draws on.