ParameterSelector

class baybe.parameters.selectors.ParameterSelector[source]

Bases: ParameterSelectorProtocol, ABC

Base class for parameter selectors.

Public methods

__init__(*[, exclude])

Method generated by attrs for class ParameterSelector.

__call__(parameter)

Determine if a parameter should be included in the selection.

Public attributes and properties

exclude

Boolean flag indicating whether invert the selection criterion.

__call__(parameter: Parameter)[source]

Determine if a parameter should be included in the selection.

Return type:

bool

__init__(*, exclude: bool = False)

Method generated by attrs for class ParameterSelector.

For details on the parameters, see Public attributes and properties.

exclude: bool

Boolean flag indicating whether invert the selection criterion.