Machine Learning Technology for Smart energy usage