Description
SentinelPay's MLModel entity and MLModelService are fully implemented
but currently use simulated inference. This issue trains a real XGBoost
model on the IEEE-CIS Fraud Detection dataset and registers it in MLflow.
Tasks
Acceptance Criteria
- Model achieves precision ≥ 0.85 AND recall ≥ 0.80 on holdout set
POST /api/ml-models/{id}/evaluate returns meets_promotion_gate: true
- Model artifact path registered in MLflow
Description
SentinelPay's
MLModelentity andMLModelServiceare fully implementedbut currently use simulated inference. This issue trains a real XGBoost
model on the IEEE-CIS Fraud Detection dataset and registers it in MLflow.
Tasks
ml/train_xgboost.pywith feature engineering matchingFeatureVectorschemamlflow models serveMLModel.score()to call real inferenceAcceptance Criteria
POST /api/ml-models/{id}/evaluatereturnsmeets_promotion_gate: true