Javascript must be enabled to continue!
Predicting Crime Categories in Montreal: A Comparative Analysis of Machine Learning Algorithms
View through CrossRef
Every year, the Montreal police are confronted with countless crimes committed by criminals. These crimes affect the quality of life of city residents and impose a socio-economic burden on the city. In this study, we conduct a comparative analysis based on several machine learning algorithms to develop a model to predict the crime category in Montreal. The performance of algorithms such as eXtreme Gradient Boosting (XGBoost), Decision Trees (DT) and Random Forest (RF) were analyzed. The performance analysis takes into account the performance metrics such as precision, accuracy, recall and F1-score. This analysis was based on crime data in Montreal from 2015 to 2023. This data is characterized by a strong imbalance between crime categories. To address the data imbalance problem, a data balancing approach based on the SMOTE-ENN algorithm was adopted. In the exploratory data analysis phase, temporal trends by crime category were highlighted. The results of the analysis showed that the XGBoost algorithm outperformed the other two. Specifically, the XGBoost algorithm achieves an accuracy of 92%, while DT and RF achieve an accuracy of 86% and 84%, respectively. As a result, XGBoost was deployed via a web application using the Flask and Swagger UI Python frameworks. This study provides the Montreal police with an effective tool to better utilize their resources in fighting crime. In addition, policymakers in the city of Montreal can use this tool to identify high-risk areas and give them more attention.
Title: Predicting Crime Categories in Montreal: A Comparative Analysis of Machine Learning Algorithms
Description:
Every year, the Montreal police are confronted with countless crimes committed by criminals.
These crimes affect the quality of life of city residents and impose a socio-economic burden on the city.
In this study, we conduct a comparative analysis based on several machine learning algorithms to develop a model to predict the crime category in Montreal.
The performance of algorithms such as eXtreme Gradient Boosting (XGBoost), Decision Trees (DT) and Random Forest (RF) were analyzed.
The performance analysis takes into account the performance metrics such as precision, accuracy, recall and F1-score.
This analysis was based on crime data in Montreal from 2015 to 2023.
This data is characterized by a strong imbalance between crime categories.
To address the data imbalance problem, a data balancing approach based on the SMOTE-ENN algorithm was adopted.
In the exploratory data analysis phase, temporal trends by crime category were highlighted.
The results of the analysis showed that the XGBoost algorithm outperformed the other two.
Specifically, the XGBoost algorithm achieves an accuracy of 92%, while DT and RF achieve an accuracy of 86% and 84%, respectively.
As a result, XGBoost was deployed via a web application using the Flask and Swagger UI Python frameworks.
This study provides the Montreal police with an effective tool to better utilize their resources in fighting crime.
In addition, policymakers in the city of Montreal can use this tool to identify high-risk areas and give them more attention.
Related Results
Primerjalna književnost na prelomu tisočletja
Primerjalna književnost na prelomu tisočletja
In a comprehensive and at times critical manner, this volume seeks to shed light on the development of events in Western (i.e., European and North American) comparative literature ...
Crime Rate Prediction using Machine Learning
Crime Rate Prediction using Machine Learning
A common problem in the world is crime, and predicting crime rates is an important element in providing and predicting crime rates is an important effective crime prevention and re...
Integrating quantum neural networks with machine learning algorithms for optimizing healthcare diagnostics and treatment outcomes
Integrating quantum neural networks with machine learning algorithms for optimizing healthcare diagnostics and treatment outcomes
The rapid advancements in artificial intelligence (AI) and quantum computing have catalyzed an unprecedented shift in the methodologies utilized for healthcare diagnostics and trea...
Categories of financial crime
Categories of financial crime
PurposeThe purpose of this paper is to present a systematic approach to classify financial crime into main categories as well as sub categories.Design/methodology/approachBased on ...
Analytical Study of Some Selected Classification Algorithms and Crime Prediction
Analytical Study of Some Selected Classification Algorithms and Crime Prediction
To prevent the crime these days police exercises particularly in the case of investigation, emphasis on Artificial Intelligence, data mining and Machine learning aspect. To prevent...
A Design to Predict and Analyze Crime
A Design to Predict and Analyze Crime
Abstract: Crime is one of the dominant and alarming aspect of our society. Over the past few years, the crime rate across globe has increased exponentially. So, preventing the crim...
Campus Crime
Campus Crime
Despite the fact that deviance in all its forms has existed on college and university campuses since their inception, criminological interest in colleges and universities in this c...
From Hate Crime to Disability Hate Crime
From Hate Crime to Disability Hate Crime
This chapter traces the journey from hate crime to Disability Hate Crime through an analysis of the relevant literature including policy related documents which construct and refer...

