liveBook · Manning

Hyperparameter search space

As explained in Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A hyperparameter search space is the set of candidate values and constraints from which model configurations are selected during optimization.

A hyperparameter search space defines which settings an optimization procedure may test and the allowed values or boundaries for each setting. It turns parameter tuning from ad hoc experimentation into a controlled search tied to evaluation metrics, cross-validation, and a search strategy. section 6.3 section 6.3.1

A useful search space specifies:

  • The hyperparameters whose effects matter for the problem, together with discrete candidates, continuous ranges, or categorical alternatives. section 6.3 section 6.3.1
  • Constraints or conditional adjustments when selected values require different parameters, as with XGBoost boosters and objectives. section 7.2.5
  • A size appropriate to the available computation: exhaustive grids suit few discrete parameters, while broader spaces can use adaptive search. section 6.3.1 section 7.2.5

XGBoost regression space

An Optuna study can test booster and objective categories alongside ranges for estimator count, learning rate, subsampling, column sampling, and tree depth. It evaluates each suggested configuration by cross-validated mean absolute error over 60 trials, then reports the best settings. section 7.2.5

How Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI covers it

How deep it goes
Explains candidate values, boundaries, conditional parameters, and grid-size trade-offs but stops short of full search-algorithm theory.
Examples
Uses logistic-regression grids and an Optuna XGBoost study with categorical choices, numeric ranges, conditional settings, and optimization diagnostics.
What it assumes
Assumes a model, evaluation metric, and cross-validation scheme, while treating parameter candidates and search-space structure explicitly.
What you can do after
Apply it via Scikit-learn or Optuna to define candidate settings, evaluate configurations, and select a lower-error model.
How it connects
Connects hyperparameter optimization with cross-validation, grid search, Bayesian optimization, model overfitting, and XGBoost.

Also explained in

Compare how 2 books explain hyperparameter search space →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI. The section links point to the parts of the book it draws on.