omnidiag / backend /model_loader.py

Commit History

fix(api): add prediction and confidence to /explain response
1c260dc

yahyoha Claude Sonnet 4.6 commited on

fix(model): correct preprocessing order and invert heart disease labels
20876b6

yahyoha Claude Sonnet 4.6 commited on

fix(counterfactuals): enable What-If scenarios for heart_disease
14a2f1d

yahyoha Claude Sonnet 4.6 commited on

refactor(backend): update core inference modules for v2 compatibility
d55a26d

yahyoha Claude Sonnet 4.6 commited on

fix: resolve 3 critical integration bugs causing 500 errors
c7cae6b

yahyoha commited on

fix: StringDtype bug in engineer_medical_features + retrain model for 16-feature consistency
b4f4f5e

yahyoha commited on

fix(explain): monkey-patch booster.save_raw() to strip base_score brackets for older SHAP
472aa7c

yahyoha commited on

fix(explain): force SHAP >= 0.50.0 to handle XGBoost 3.x bracket-wrapped base_score
71bbe7b

yahyoha commited on

fix: patch XGBoost base_score immediately at model load time (not in explainer property)
ea7a552

yahyoha commited on

fix: correct base_score patch condition in explainer property
7063afb

yahyoha commited on

fix: add base_score bracket patch in model_loader.py for XGBoost 3.x compatibility
38735e6

yahyoha commited on

debug: add detailed traceback logging to explain endpoint for diagnosing 500 error
e505d60

yahyoha commited on

feat(core): apply production security updates, fix infrastructure bugs, and add SHAP service
dc38183

yahyoha commited on

feat(backend): add bilingual clinical NLP summary for SHAP explanations
51cb32e

yahyoha commited on

feat(backend): resolve model paths relative to project root
2c5257e

yahyoha commited on

feat: implement dynamic disease routing and model loading with Pydantic schemas
d8d2ed6

yahyoha commited on