Machine Learning-Based Dynamic Voltage And Frequency Scaling For Power Optimization In Modern Processors