New! Use Simple ML for Sheets to apply machine learning to the data in your Google Sheets Read More


Stay organized with collections Save and categorize content based on your preferences.

Tuner using random hyperparameter values.

Inherits From: Tuner

Used in the notebooks

Used in the tutorials

The candidate hyper-parameter can be evaluated independently and in parallel.

num_trials Number of random hyperparameter values to evaluate.



View source

Adds a hyperparameter with a list of possible values.

key Name of the hyper-parameter.
values List of possible value for the hyperparameter.
merge If false (default), raises an error if the hyper-parameter already exist. If true, adds values to the parameter if it already exist.

The conditional SearchSpace corresponding to the values in "values".


View source

Sets the base learner key.


View source

YDF training configuration for the Hyperparameter optimizer.