ClassifierRegistry

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 ClassifierRegistry[source]

Bases: ComponentRegistry[Type[Classifier]]

Name-to-implementation registry for outcome classifiers.

The domain is classifier (NOT model) so it can never be confused with HabitatModel, the habitat-definition artefact (v1.0 naming decisions).

domain: ClassVar[str] = 'classifier'

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

kind: str = 'classifier'

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