StructuralFeature#
- class deeptrack.features.StructuralFeature(_input: Any | None = None, **kwargs: Any)#
Bases:
FeatureProvide the structure of a feature set without input transformations.
A StructuralFeature serves as a logical and organizational tool for grouping, chaining, or structuring pipelines. It does not modify the input data or introduce new properties.
This feature is typically used to: - group or chain sub-features (e.g., Chain) - apply conditional or sequential logic (e.g., Probability) - organize pipelines without affecting data flow (e.g., Combine)
StructuralFeature inherits all behavior from Feature, without overriding the .__init__() or .get() methods.
Attributes#
- __distributed__: bool
If False (default), processes the entire input list as a single unit. If True, applies .get() to each element in the list individually.