CaliForest: Calibrated Random Forest Model#995
CaliForest: Calibrated Random Forest Model#995kumar70uiuc wants to merge 13 commits intosunlabuiuc:masterfrom
Conversation
Califorest saswati
|
Hi Abhinav(@kumar70uiuc), Saswati, and Zhi, thanks for the detailed implementation. A few things here are genuinely strong: the hand-rolled OOB aggregation walking through I want to flag one thing up front. There is a parallel PR at #999 that also implements CaliForest, and it uses the The most valuable path forward for your PR is to port it to inherit Smaller items worth fixing alongside the refactor:
Happy to answer questions as you work on the refactor. |
|
We have addressed the review comments provided above. |
CaliForest: Calibrated Random Forest Model
Contributor:
Type: Model Contribution (Option 2)
Paper: CaliForest: Calibrated Random Forest for Clinical Risk Prediction (https://pmc.ncbi.nlm.nih.gov/articles/PMC8299436/)
Description
This PR implements CaliForest, a calibrated Random Forest that uses Out-of-Bag (OOB) predictions for internal calibration, eliminating the need for a separate calibration holdout set. This is particularly valuable in data-limited clinical settings.
Key Features
Files to Review
pyhealth/models/califorest.py- Main implementationtests/test_califorest.py- Test suiteexamples/califorest_mortality_ablation.py- Ablation studydocs/api/models/pyhealth.models.califorest.rst- Documentation8 test passed, using synthetic data