In the fast-paced world of construction management, the ability to harness data-driven insights is paramount for driving efficiency and success. At Projecting Success, we are constantly exploring innovative technologies to empower portfolio managers with tools that optimise project performance. In this blog post, we delve into the realm of anomaly detection using PyOD, a powerful Python library, to identify potential outliers in construction project data. While our focus is on the construction sector, the principles discussed here are universally applicable across industries.


PyOD PyOD, short for Python Outlier Detection, is a versatile library designed to detect outliers in multivariate data (data where each entry has multiple variables). It offers a comprehensive suite of algorithms and techniques for outlier detection, ranging from traditional statistical methods to advanced machine learning approaches. By leveraging PyOD, portfolio managers can gain valuable insights into project performance and identify potential anomalies that may impact project timelines, budgets, or resource allocation.

Application in the construction sector

In the construction industry, portfolio managers face the challenge of managing multiple projects simultaneously, each with its unique set of variables and constraints. PyOD offers a powerful solution for identifying outliers in project performance based on high-level project data such as budget, duration, and work hours. By applying outlier detection techniques, portfolio managers can:

  1. Gain Insights into Project Performance: Analyse project data to identify outliers that deviate significantly from the norm, indicating potential issues or anomalies in project execution.
  2. Optimise Resource Allocation: Identify projects with outlier performance metrics and reallocate resources as needed to ensure optimal project outcomes and resource utilization.
  3. Enhance Decision-Making: Make informed decisions based on data-driven insights, leveraging PyOD to identify outliers and prioritise actions to mitigate risks and maximise project success.

Demo: Identifying Project Outliers

In our example we showed how PyOD can be applied to identify potential outliers in construction project data:

  1. Data Generation: Generate synthetic data representing high-level project variables such as budget, duration, and work hours.
  2. Building the Model: Utilise PyOD's KNN outlier detection model to build a robust outlier detection system.
  3. Applying the Model: Apply the trained model to the portfolio data to identify potential outliers based on project performance metrics.


In conclusion, PyOD offers a powerful toolkit for portfolio managers in the construction sector to identify potential outliers in project performance data. By leveraging data-driven insights, portfolio managers can optimise resource allocation, mitigate risks, and drive project success. This blog post has highlighted just one use case for PyOD in the construction industry, showcasing its potential to revolutionize project management and drive efficiency and innovation.

Enquire now

Projecting Success aren’t just working on data driven project delivery, we are taking a pivotal role in shaping and creating this future. If you’d like to speak to one of our experts on the subject then please register below, or drop us an email to