{"id":18229,"date":"2025-05-19T17:37:35","date_gmt":"2025-05-19T15:37:35","guid":{"rendered":"https:\/\/immune.institute\/?post_type=proyecto&#038;p=18229"},"modified":"2025-10-07T10:49:12","modified_gmt":"2025-10-07T08:49:12","slug":"prediccion-riesgos-inteligencia-artificial-distribucion-recursos","status":"publish","type":"proyectos","link":"https:\/\/immune.institute\/en\/proyectos\/prediccion-riesgos-inteligencia-artificial-distribucion-recursos\/","title":{"rendered":"Risk prediction with AI to optimise resource allocation"},"content":{"rendered":"<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-f72ede8d wp-block-columns-is-layout-flex\" style=\"margin-top:0;margin-bottom:0\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Artificial Intelligence is well known for its content generation capabilities, but it can also be used for other purposes that have a positive social impact, such as predicting high-risk crime areas.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks to the study of historical data and socio-economic, climatic or temporal variables, it is possible to predict where there is a higher risk of crime, allowing the optimisation of police resources and understanding the dynamics of crime, in this case in the city of Montevideo.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"card card-light wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-1-color\">Carried out by<\/mark><\/strong> <a href=\"https:\/\/www.linkedin.com\/in\/marcelomiraballes\/\" target=\"_blank\" rel=\"noreferrer noopener\">Marcelo Miraballes<\/a> | <a href=\"https:\/\/www.linkedin.com\/in\/danielovc\/\" target=\"_blank\" rel=\"noreferrer noopener\">Daniel Vega<\/a> | <a href=\"https:\/\/www.linkedin.com\/in\/diego-mac%C3%ADas-s%C3%A1nchez-b261a84\/\" target=\"_blank\" rel=\"noreferrer noopener\">Diego Macias<\/a> | <a href=\"https:\/\/www.linkedin.com\/in\/marco-antonio-pe%C3%B1a-cubillos\/\" target=\"_blank\" rel=\"noreferrer noopener\">Marco Antonio Pe\u00f1a<\/a><\/p>\n\n\n\n<p class=\"card card-light wp-block-paragraph\"><strong>Qualification<\/strong> <a href=\"https:\/\/immune.institute\/en\/programas\/master-executive-en-data-science\/\" target=\"_blank\" rel=\"noreferrer noopener\">Master in<\/a><a href=\"https:\/\/immune.institute\/en\/programas\/master-en-data-science-online\/\" target=\"_blank\" rel=\"noreferrer noopener\"> IA &amp; <\/a><a href=\"https:\/\/immune.institute\/en\/programas\/master-executive-en-data-science\/\" target=\"_blank\" rel=\"noreferrer noopener\">Data Science<\/a><\/p>\n\n\n\n<p class=\"card card-light wp-block-paragraph\"><strong>Technologies<\/strong> Artificial Intelligence | Machine Learning | Data Analysis and Visualisation | Optimisation of Models | Development Environments<\/p>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">What is the motivation?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The rise of data collection has increased interest in applying techniques of<strong> Machine Learning in the Service of Public Safety<\/strong>, analysing them to predict high-crime risk areas and facilitating efficient resource allocation.<\/p>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\" style=\"margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)\">\n<h3 class=\"wp-block-heading\">Program aims <\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Predict high-risk crime areas<\/strong>&nbsp;using historical data and socio-economic, climatic and temporal variables.<\/li>\n\n\n\n<li><strong>Optimising patrol resources<\/strong>&nbsp;through a data-driven approach.<\/li>\n\n\n\n<li><strong>Analysing crime patterns<\/strong>&nbsp;to better understand the dynamics of crime in Montevideo.<\/li>\n<\/ul>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/immune.institute\/wp-content\/uploads\/2025\/04\/DATAIA009-Crimenes-Montevideo-importancia-caracteristicas.png\" alt=\"\" class=\"wp-image-18235\"\/><\/figure>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\" style=\"margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)\">\n<h2 class=\"wp-block-heading\">Development <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The project has involved the following phases:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Collection of historical data and different climatic and socio-economic variables.<\/li>\n\n\n\n<li>Data cleaning and preparation, adjusting variables and dealing with missing values.<\/li>\n\n\n\n<li>Exploratory data analysis, identifying different crime patterns, analysing correlations and detecting outliers. <\/li>\n\n\n\n<li>Feature engineering, analysing the importance of different variables, encoding categorical variables and creating new variables.<\/li>\n\n\n\n<li>Predictive modelling, training the different supervised models, optimising the hyperparameters and carrying out an evaluation with performance metrics.<\/li>\n\n\n\n<li>Evaluation of the model, studying the ROC curve and overfitting, optimising the classification threshold and evaluating the metrics.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"584\" src=\"https:\/\/immune.institute\/wp-content\/uploads\/2025\/04\/DATAIA009-Mapa-riesgo-crimenes-Montevideo-1-1024x584.jpg\" alt=\"\" class=\"wp-image-18234\" srcset=\"https:\/\/immune.institute\/wp-content\/uploads\/2025\/04\/DATAIA009-Mapa-riesgo-crimenes-Montevideo-1-1024x584.jpg 1024w, https:\/\/immune.institute\/wp-content\/uploads\/2025\/04\/DATAIA009-Mapa-riesgo-crimenes-Montevideo-1-256x146.jpg 256w, https:\/\/immune.institute\/wp-content\/uploads\/2025\/04\/DATAIA009-Mapa-riesgo-crimenes-Montevideo-1-512x292.jpg 512w, https:\/\/immune.institute\/wp-content\/uploads\/2025\/04\/DATAIA009-Mapa-riesgo-crimenes-Montevideo-1-768x438.jpg 768w, https:\/\/immune.institute\/wp-content\/uploads\/2025\/04\/DATAIA009-Mapa-riesgo-crimenes-Montevideo-1-18x10.jpg 18w, https:\/\/immune.institute\/wp-content\/uploads\/2025\/04\/DATAIA009-Mapa-riesgo-crimenes-Montevideo-1.webp 1297w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Results <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The results obtained include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Robust model with an AUC above 0.75 and an F1-Score optimised by threshold adjustment techniques.<\/li>\n\n\n\n<li>Optimised model performance with the use of Optuna and efficient hyperparameter tuning.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\" style=\"margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)\">\n<p class=\"wp-block-paragraph\">Crime analysis in critical areas for public safety, supported by AI and ML, facilitates the optimisation of police resources, allocating them where they are most needed, as well as serving as support in urban planning and the prevention of all types of crime.<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Thanks to the study of historical data and socio-economic, climatic or temporal variables, it is possible to predict where there is a higher risk of crime, allowing the optimisation of police resources and understanding the dynamics of crime, in this case in the city of Montevideo.<\/p>","protected":false},"featured_media":18233,"menu_order":0,"template":"","area":[241],"class_list":["post-18229","proyectos","type-proyectos","status-publish","has-post-thumbnail","hentry","area-data-science"],"acf":[],"_links":{"self":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/proyectos\/18229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/proyectos"}],"about":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/types\/proyectos"}],"version-history":[{"count":0,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/proyectos\/18229\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/media\/18233"}],"wp:attachment":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/media?parent=18229"}],"wp:term":[{"taxonomy":"area","embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/area?post=18229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}