A Data-Driven Multi-Regime Approach For Predicting Real-Time Energy Consumption Of Industrial Machines.