Statistical and machine learning models for optimizing energy in parallel applications. (November 2019)