bigframes.bigquery.hparam_range#

bigframes.bigquery.hparam_range(min: float, max: float) Expression[source]#

Defines the minimum and maximum bounds of the search space of continuous values for a hyperparameter.

Examples:

>>> import bigframes.pandas as bpd
>>> import bigframes.bigquery as bbq
>>> # Specify a range of values for a hyperparameter.
>>> learn_rate = bbq.hparam_range(0.0001, 1.0)
Parameters:
  • min (float or int) – The minimum bound of the search space.

  • max (float or int) – The maximum bound of the search space.

Returns:

An expression that can be used in model options.

Return type:

bigframes.pandas.api.typing.Expression