Skip to content

getml.pipeline.score

Score dataclass

Score(date_time: datetime, set_used: str, target: str)

Bases: ABC

ClassificationScore dataclass

ClassificationScore(
    date_time: datetime,
    set_used: str,
    target: str,
    accuracy: float,
    auc: float,
    cross_entropy: float,
)

Bases: Score

Dataclass that holds data of a scoring run for a classification pipeline.

PARAMETER DESCRIPTION
accuracy

The accuracy of the classification.

TYPE: float

auc

The area under the curve: auc.

TYPE: float

cross_entropy

TYPE: float

RegressionScore dataclass

RegressionScore(
    date_time: datetime,
    set_used: str,
    target: str,
    mae: float,
    rmse: float,
    rsquared: float,
)

Bases: Score

Dataclass that holds data of a scoring run for a regression pipeline.

PARAMETER DESCRIPTION
mae

The mean absolute error: mae

TYPE: float

rmse

The root mean squared error: rmse

TYPE: float

rsquared

The squared correlation coefficient: rsquared

TYPE: float