Poor transportation management system leads to causalities and severe road congestions in urban areas. Efficient transportation is needed with routing models and spectrum management schemes. The cognitive radio-based vehicular ad hoc networks solve such issues, and the machine learning models play a vital role. The machine learning algorithms are employed for improving routing efficiency, achieving security, optimizing scheduling, choosing the best channels, and prioritizing the communication based on the type of application.