Workflow of the System Data set d. t Real-time data stream Data Preprocessing Generate a 24-hour window Bucketing Data Preprocessing Exploratory Undersampling Bucket bagging Bucketing Logistic Regression Final Model EMA Smoothing Predict Model threshold? iteration cour Yes larm Warni Final Model (A)Model building phase Deployment phaseWorkflow of the System Exploratory Undersampling Logistic Regression Bucket bagging Data set D,T Converge? Predict Model Final Model Yes No Real-time data stream Final Model EMA Smoothing > threshold? Alarm Warning No Data Preprocessing > iteration count? Bucketing Yes No Bucketing Data Preprocessing (A) Model building phase (B) Deployment phase Generate a 24-hour window Yes