Machine Learning Models for Smart Cities