Smart Cities (Sep 2022)

Exploiting User Behavior to Predict Parking Availability through Machine Learning

  • Enrico Bassetti,
  • Andrea Berti,
  • Alba Bisante,
  • Andrea Magnante,
  • Emanuele Panizzi

DOI
https://doi.org/10.3390/smartcities5040064
Journal volume & issue
Vol. 5, no. 4
pp. 1243 – 1266

Abstract

Read online

Cruising-for-parking in an urban area is a time-consuming and frustrating activity. We present four machine learning-based models to predict the parking availability of street segments in an urban area on a three-level scale, which navigator and smart-parking apps can exploit to ease and reduce the cruising phase. The models were trained with data generated by a cruising-for-parking simulator that we developed, replicating four parking behavior types (workers, residents, buyers, and visitors). The generated data is comparable to that collectible with smartphones’ sensors. We simulated 40 users moving for 200 weeks in the city area of San Giovanni in Rome. We collected information about users’ parking, unparking, and cruising actions over considered road segments at different time slots. Once a significant amount of trips were collected, we extracted ten features for each road segment at a given time slot. With the obtained dataset, which contained 761 samples, we trained and compared four supervised machine learning models that receive the history of a segment and, in return, classify the Parking Availability Level of the segment as Green, Yellow or Red. The four models were further evaluated in a different city area, San Lorenzo, and obtained very accurate results. We can predict parking availability with an accuracy above 97% for all the street segments where we collected 30 or more user actions, confirming the robustness of the simulator in generating synthetic cruising-for-parking data and the suitability of designing a Parking Availability Classifier (PAC) based on data collectible by smartphones.

Keywords