Applying Machine Learning Techniques To Improve Safety And Mobility Of Urban Transportation Systems Using Infrastructure- And Vehicle-Based Sensors