Code Documentation: Hyperparameter Optimization¶
mastml.hyper_opt Module¶
This module contains methods for optimizing hyperparameters of models
- HyperOptUtils:
This class contains various helper utilities for setting up and running hyperparameter optimization
- GridSearch:
This class performs a basic grid search over the parameters and value ranges of interest to find the best set of model hyperparameters in the provided grid of values
- RandomizedSearch:
This class performs a randomized search over the parameters and value ranges of interest to find the best set of model hyperparameters in the provided grid of values. Often faster than GridSearch. Instead of a grid of values, it takes a probability distribution name as input (e.g. “norm”)
- BayesianSearch:
This class performs a Bayesian search over the parameters and value ranges of interest to find the best set of model hyperparameters in the provided grid of values. Often faster than GridSearch.
Classes¶
|
Bayesian optimization over hyper parameters. |
|
Class to conduct a Bayesian search to find optimized model hyperparameter values |
|
Search space dimension that can take on categorical values. |
|
Class to conduct a grid search to find optimized model hyperparameter values |
|
Exhaustive search over specified parameter values for an estimator. |
|
Helper class providing useful methods for other hyperparameter optimization classes. |
|
Search space dimension that can take on integer values. |
|
Class containing access to a wide range of metrics from scikit-learn and a number of MAST-ML custom-written metrics |
|
Class to conduct a randomized search to find optimized model hyperparameter values |
|
Randomized search on hyper parameters. |
|
Search space dimension that can take on any real value. |
|
Class to wrap any sklearn estimator, and provide some new dataframe functionality |