run_streaming_inference
Input features DataFrame containing patient data for risk prediction
Trained model with
predict_proba method for risk prediction. Must return probability scores for binary classificationNumber of rows to process per chunk in streaming mode
DataFrame with the following columns:
risk_probability: Predicted probability of positive risk (class 1)risk_label: Binary label (0 or 1) based on 0.5 probability threshold