Online anomaly detection and remaining useful life prediction of rotating machinery based on cumulative summation features