Spaces:
Sleeping
Sleeping
Commit History
-
Upload folder using huggingface_hub
Verified signaturee406ddb -
Upload folder using huggingface_hub
Verified signaturebe68e43 -
Upload folder using huggingface_hub
Verified signature74e067a -
Upload folder using huggingface_hub
Verified signature5b54e78
-
Upload folder using huggingface_hub
Verified signature9796e1e
-
Upload folder using huggingface_hub
Verified signature90b2c67
-
Upload folder using huggingface_hub
Verified signaturecf58242 -
Upload folder using huggingface_hub
Verified signature100ddbe
-
chore: bump API version to 0.8.0
06065d7
-
chore: bump API version to 0.7.0
4dd5069 -
chore: bump API version to 0.5.0
82af15e
-
chore: bump API version to 0.4.0
77fb213 -
feat: log predictions to database after each inference
75c7c56 -
chore: bump API version to 0.3.0
88f79b5 -
chore: bump API version to 0.2.0
b6e1abe
-
feat: secure endpoints with API key authentication
a9477b4 -
feat: add FastAPI REST API with HR churn prediction endpoint
- Create app/main.py with FastAPI app and lifespan model loading - Add Pydantic schemas for input validation (24 fields) and structured output (prediction, label, probabilite) - Implement /health, /model/info and /predict endpoints - Add ml_model/loader.py to load pipeline and custom threshold from pkl - Apply feature engineering before inference: derive stabilite_management, flag_surcharge_et_deplacement, ratio_promotion_anciennete, satisfaction_globale, satisfaction_min, log_revenu; drop 3 raw columns - Classify with custom threshold (predict_proba >= threshold) - Update requirements.txt with fastapi, uvicorn, scikit-learn, pandase59e621