switch shap endpoints to offline cache

This commit is contained in:
2026-04-04 07:57:19 +08:00
parent 61338c0095
commit 5655eb0cda
3 changed files with 113 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ DATA_DIR = os.path.join(BASE_DIR, 'data')
RAW_DATA_DIR = os.path.join(DATA_DIR, 'raw')
PROCESSED_DATA_DIR = os.path.join(DATA_DIR, 'processed')
MODELS_DIR = os.path.join(BASE_DIR, 'models')
SHAP_CACHE_DIR = os.path.join(MODELS_DIR, 'shap_cache')
RAW_DATA_FILENAME = 'china_enterprise_absence_events.csv'
RAW_DATA_PATH = os.path.join(RAW_DATA_DIR, RAW_DATA_FILENAME)