[9d22e8]: / app / config.py

Download this file

26 lines (22 with data), 441 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# app/config.py
import os
# Data settings
DATA_PATH = os.path.join('data', 'patient_data.csv')
RANDOM_STATE = 42
TEST_SIZE = 0.2
# Model settings
MODEL_PARAMS = {
'n_estimators': 100,
'random_state': RANDOM_STATE
}
# Feature settings
FEATURES = [
'age',
'length_of_stay',
'previous_admissions',
'diagnosis',
'medication_count',
'insurance_type',
'discharge_disposition'
]
TARGET = 'readmitted_30_days'