baybe.searchspace.discrete.parameter_cartesian_prod_polars

baybe.searchspace.discrete.parameter_cartesian_prod_polars(parameters: Sequence[DiscreteParameter])[source]

Create the Cartesian product of discrete parameter values using Polars.

Parameters:

parameters (Sequence[DiscreteParameter]) – List of discrete parameter objects.

Return type:

LazyFrame

Returns:

A lazy dataframe containing all possible discrete parameter value combinations.