Back to search

University of Cincinnati

A Machine Learning Web Application for Predicting Neighborhood Safety in The City of Cincinnati

Abstract

dc:description

Neighborhood safety is the seed or cell state of tackling a much bigger issue in large metropolitan cities like Cincinnati. The aim of this study is to present a novel approach for raising awareness of safety of a particular location at a specific time through a web application that can be easily assessed on mobile devices such as smart phones. This development serves as a contribution to new advanced geographic information systems today that can help tackle crime prediction problems in real-time, as criminal activities continue to evolve. The work presented explores various machine learning algorithms to determine how safe a neighborhood is by recommending a `safety score’ deduced from records of property crimes within the metropolitan area. To demonstrate the feasibility of this approach, the main focus is on real property crime data from the Cincinnati Police Department for 133,246 incidents of burglary or breaking entry, theft and unauthorized use from 2010 to 2021. The dataset was extracted live from the crime management portal where it is updated daily, and re-engineered to produce victim data to extract fine-grained information such as theft in a particular suburb and the victims involved. The proposed approach falls in line with addressing a much larger socio-economic issue since many previous research efforts have tackled the crime prediction problem by focusing on historical suspect data to determine repeat offenders. This research supports the hypothesis that victim data can be mined in combination with human behavioral activity through mobile devices such as smart phones to avoid repeat victimization. The end product is a responsive web-based application using Streamlit, that combines computed geocoded address with basic demographic information to predict the likelihood of an arrest at the location at a specific time, within the greater Cincinnati area. As the target class categories in the dataset are imbalanced, SMOTE oversampling method was used to solve the classification problem. The experimental results after re-sampling the data helped Random Forest machine learning algorithm to outperform other algorithms with about 88% prediction accuracy. The main advantage in housing the machine learning project on a web server is that it provides a safety tool for users which can be easily accessed in their pocket. Machine learning algorithm offers a great predictive power for this kind of analysis and powerful web applications like Streamlit offer visual insights through the interactive interface to communicate relevant information with end-users. The application is deployed on the cloud through Streamlit’s cloud-sharing platform and made accessible on various platforms. In addition, this work provides a discussion on the implications of the findings and offers future research direction for data-driven crime analysis.

Degree

thesis:*
Name thesis:degree_name
MS
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Education, Criminal Justice, and Human Services: Information Technology
Grantor dc:publisher
University of Cincinnati
Year dc:date
2021

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Arthur, Gifty A.
Chair dc:contributor.committeechair
  • Ozer, M. Murat

Subjects

dc:subject × 7

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Arthur, Gifty A.. A Machine Learning Web Application for Predicting Neighborhood Safety in The City of Cincinnati. masters thesis, University of Cincinnati, 2021. http://rave.ohiolink.edu/etdc/view?acc_num=ucin1627662505704827