FilterTransform#
- class bayesflow.adapters.transforms.FilterTransform(*, transform_constructor: Callable[[...], ElementwiseTransform], predicate: Predicate = None, include: str | Sequence[str] = None, exclude: str | Sequence[str] = None, **kwargs)[source]#
Bases:
Transform
Implements a transform that applies a different transform on a subset of the data.
Used by other transforms and base adapter class.