FeaturePreprocessingMethodRegistry

Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

class FeaturePreprocessingMethodRegistry[source]

Bases: ComponentRegistry[Type[object]]

Name-to-implementation registry for feature-matrix preprocessing methods.

One registry serves both chains. A method describes a column-wise computation over a unit-by-feature matrix and is deliberately ignorant of whether those units are voxels or supervoxels, and of whether the chain holding it discards its state (per subject) or keeps it (per cohort). That ignorance is what lets a study name winsorize once and use it at either granularity.

domain: ClassVar[str] = 'feature_preprocessing_method'

Plugin domain name; snake_case of the protocol class, singular. The entry point group is f"habit.{domain}".

kind: str = 'feature preprocessing method'

Human-readable component kind, used only in error messages.