Skip to content
Snippets Groups Projects
constants.py 504 B
Newer Older
MLLP_START_CHAR = b"\x0b"
MLLP_END_CHAR = b"\x1c\x0d"

# Path to load and store the trained Decision Tree model
DT_MODEL_PATH = "dt_model.joblib"
ON_DISK_DB_PATH = "database.db"

# Map for AKI Label
LABELS_MAP = {"n": 0, "y": 1}

# Reverse labels map for writing the final output
REVERSE_LABELS_MAP = {v: k for k, v in LABELS_MAP.items()}
RohitMidha23's avatar
RohitMidha23 committed

FEATURES_COLUMNS = [
    "age",
    "sex",
    "C1",
    "RV1",
    "RV1_ratio",
    "RV2",
    "RV2_ratio",
    "change_within_48hrs",
    "D",
]