Minimizing Energy Consumption in Data Centers Using Embedded Sensors and Machine Learning