KerasTuner Oracles
- Original Link : https://keras.io/api/keras_tuner/oracles/
- Last Checked at : 2024-11-25
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.
The base Oracle class
- Oracle class
- create_trial function
- end_trial function
- get_best_trials method
- get_state method
- set_state method
- score_trial method
- populate_space method
- update_trial function