Resource Allocation in V2I Link Between Connected Autonomous Vehicles and 5G mm-Wave Band Small-Cells Using Machine Learning