Commit Graph

6 Commits

Author SHA1 Message Date
67f92ce6c4 Add tqdm progress bar support and disable option for evaluation scripts 2026-01-17 14:00:42 +08:00
bfab601a77 Add evaluation scripts for next-event prediction and horizon-capture evaluation with detailed metric disclaimers 2026-01-17 13:49:39 +08:00
c1bba30de4 Remove evaluation_age_time_dependent.py and utils.py files
- Deleted the entire evaluation_age_time_dependent.py file which contained functions for evaluating age-dependent metrics, including various statistical calculations and data aggregation methods.
- Removed utils.py file that provided utility functions for sampling context in fixed age bins and multi-hot encoding for disease occurrences.
2026-01-17 09:53:15 +08:00
b1647d1b74 Refactor tqdm import handling and improve context sampling in utils.py 2026-01-16 16:57:35 +08:00
90dffc3211 Add evaluation scripts for age-bin time-dependent metrics and remove obsolete evaluation_time_dependent.py 2026-01-16 16:13:31 +08:00
34d8d8ce9d Add evaluation and utility functions for time-dependent metrics
- Introduced `evaluate.py` for time-dependent evaluation of models, including data loading and model inference.
- Added `evaluation_time_dependent.py` to compute various evaluation metrics such as AUC, average precision, and precision/recall at specified thresholds.
- Implemented CIF calculation methods in `losses.py` for different loss types, including exponential and piecewise exponential models.
- Created utility functions in `utils.py` for context selection and multi-hot encoding of events within specified horizons.
2026-01-16 14:55:09 +08:00