Skip to content

JABS Core Enums

Module for defining enums used in JABS

CacheFormat

Bases: str, Enum

Storage format for a project's feature cache.

Inheriting from str allows for easy serialization to/from JSON (the enum will automatically be serialized using the enum value).

ClassifierMode

Bases: str, Enum

Classifier mode for the project.

Inheriting from str allows for easy serialization to/from JSON (the enum will automatically be serialized using the enum value).

ClassifierType

Bases: str, Enum

Classifier type for the project.

ConfidenceMetric

Bases: Enum

How inference confidence was computed.

CrossValidationGroupingStrategy

Bases: str, Enum

Cross-validation grouping type for the project.

Inheriting from str allows for easy serialization to/from JSON (the enum will automatically be serialized using the enum value).

Method

Bases: Enum

The Aggregation method for how per-frame outputs are aggregated.

PredictionType

Bases: IntEnum

Enum describing a prediction type.

RAW: Raw model output. POSTPROCESSED: Post-processed model output.

ProjectDistanceUnit

Bases: IntEnum

Distance unit for the project.

SamplingStrategy

Bases: Enum

The strategy used for sampling frames for inference.

StorageFormat

Bases: Enum

Supported storage formats.