Smart City Analytics with Talent Alpha

GEOSPATIAL

About the client

Established

2018

Industry

Geospatial

Size

Medium

Location

Poland

Talent Alpha is a visionary company that’s reshaping the future of work. They connect top tech talents with businesses seeking digital expertise, revolutionising the way organisations harness tech capabilities. Their innovative platform offers a win-win solution, empowering companies to thrive in the digital age while providing talented professionals with exciting opportunities. Talent Alpha is at the forefront of bridging the talent gap and fostering a brighter, more connected tech ecosystem.

Technologies

  • Python
  • Jupyter
  • PyCharm
  • GitHub
  • Prophet
  • MLP

How can we use Smart City Analytics in practice?

The field of modern Digital Twins is quickly gaining importance, especially when we consider the growing capabilities offered by the development of the Big Data tech industry. Gathering huge amounts of data has become easier and more efficient than ever, and scientists are chasing each other to find out new and better ways to use the data to our advantage.

When we pass the stage of analysing historical trends and understanding where we are now, we start focusing on what lies ahead of us. This is where predictive analytics, powered by machine learning, becomes invaluable.

When our client asked us for guidance in the field of AI, they had already worked on a Digital Twin for one of the largest cities in the world. Together, we focused on adding a predictive capability to the system. Two major use-cases connected to public transportation were investigated – predicting a number of Bus Entries and modelling arrival times of the buses.   

First, we performed a careful data diagnostic and defined the possible scope of prediction – its’ time frame, granularity, finding additional data sources, and investigating the ability to connect the solution to the existing backend.  

Then taking all of the above into consideration, for each of the specified use-cases we developed a tailored machine learning model aimed at predicting:  

  • bus passenger movements using travel card data,
  • the time of bus arrival at a given bus stop using live bus movement data.   

During that process, we tested a variety of modeling techniques ranging from Time Series Analysis (e.g. using Facebook’s Prophet algorithm) to complex machine learning models (including XGBoost, MLP).  

The end product of the first PoC was a machine learning model predicting the number of entries in the next 15 minutes on a chosen bus stop. The model performed around 18 p.p. better than the baseline model (historical trend).   

To start modelling bus arrivals, we had to build a full data pipeline which started by scraping live data, cleaning it, and applying a custom-built algorithm that connected raw observations into bus journeys. Working with a limited dataset, the accuracy of the model predicting bus arrivals was close to the GPS-based system displayed live on the bus stops. Our model achieved slightly higher accuracy when the distance between the bus and the bus station was greater.  

On top of that, we also provided additional analyses connected to the two major use cases. We created a set of Jupyter Notebooks with interactive visualisations to be used as a tool to investigate and troubleshoot the bottlenecks in the transportation system. Besides modelling the expected number of passenger entries and bus arrival times, we also focused on anomaly prediction using the Isolation Forest method. We discovered that using historical values of bus entries (in the last 15, 30, 45, 60 minutes), we can, with a high degree of certainty, predict whether the next time interval will be an anomaly.  

Overall, for those two use cases, we have leveraged state-of-the-art artificial intelligence techniques to enhance the Digital Twin model of a modern smart city. 

Technologies used: Python (Jupyter Notebook, PyCharm), Git, Prophet, XGBoost, MLP 

Methodologies used: Data Analysis, Predictive modelling, Machine Learning, Time Series Analysis, Data Visualisation, Outlier Detection, Linear Regression, Isolation Forest

CONTACT

Interested in working together?
Get in touch.

Jarosław Marciniak

Jaroslaw Marciniak

Director of Geospatial Services

+48 728 361 355

    Spyrosoft collects the above data to contact you in order to process your inquiry. You can opt out of communication at any time. More information can be found in our Privacy Policy.