Machine Learning for Smart and Energy-Efficient Buildings