Towards Intelligent Vehicular Networks: A Machine Learning Framework