[ Web Proxy ]
URL:
Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.bigquery.hparam_candidates.html [Back]  [Original]

bigframes.bigquery.hparam_candidates — bigframes documentation
Back to top
Search the docs ...:

bigframes.bigquery.hparam_candidates#

bigframes.bigquery.hparam_candidates(candidates: Sequence[float | str]) Expression[source]#

Specifies the set of discrete values for the hyperparameter.

Examples:

>>> import bigframes.pandas as bpd
>>> import bigframes.bigquery as bbq
>>> # Specify a set of values for a hyperparameter.
>>> optimizer = bbq.hparam_candidates(['ADAGRAD', 'SGD', 'FTRL'])
Parameters:

candidates (Sequence[float | str]) The set of discrete values for the hyperparameter.

Returns:

An expression that can be used in model options.

Return type:

bigframes.pandas.api.typing.Expression


Web Proxy Viewer  |  New URL  |  Original Page