Commit Graph

2 Commits

Author SHA1 Message Date
502ddd153b Refactor context index selection in evaluate_time_dependent to improve horizon-specific eligibility handling 2026-01-16 15:01:35 +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