Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
keras-team
GitHub Repository: keras-team/keras-io
Path: blob/master/templates/keras_tuner/api/oracles/index.md
3299 views

KerasTuner Oracles

The Oracle class is the base class for all the search algorithms in KerasTuner. An Oracle object receives evaluation results for a model (from a Tuner class) and generates new hyperparameter values.

The built-in Oracle classes are RandomSearchOracle, BayesianOptimizationOracle, and HyperbandOracle.

You can also write your own tuning algorithm by subclassing the Oracle class.

{{toc}}