Enums

The alf_core.utils.enums module defines enumeration types used across the ALF framework. ProblemType specifies whether a task is regression or classification, and drives metric selection, model output dimensionality, and data splitting behaviour.

class alf_core.utils.enums.ProblemType(*values)[source]

Bases: str, Enum

Enum for the type of machine learning problem.

REGRESSION

Continuous output prediction.

BINARY

Binary classification (two classes).

MULTICLASS

Multi-class classification (three or more classes).

BINARY = 'binary'
MULTICLASS = 'multiclass'
REGRESSION = 'regression'