Crime Prediction with DistilBERT-based Feature Extraction and Machine Learning

Crime is all actions and behaviors that harm societies and have a legal and criminal counterpart. Although the fight against crime is basically interpreted as the duty of the state, practices similar to this study are important in order to support the struggle. Because it can create situations that can be interpreted with different analyzes made on crime data. From this point of view, additional measures taken will be an auxiliary element in the fight against crime. Being able to predict the crime that may occur ensures that it is prevented before the crime situation occurs. Therefore, the analysis and prediction of crimes is important in identifying and reducing future crimes. In this research, a model in which features are obtained with DistilBERT and 8 different machine learning algorithms are used as classifiers is proposed. The San Francisco crime dataset, which was used for an online competition managed by Kaggle Inc, was used as the dataset. Unlike the literature, all crime categories (39 categories) in the dataset were included in the study. In addition, obtaining features with DistilBERT is another point that differentiates the study. GridSearchCV was preferred for parameter optimization and a general improvement was observed in the range of 1-2% compared to the default parameters. The highest accuracy rate was accomplished with the Support Vector Machine (SVM) with 99.78%. In addition, with 10-fold cross-validation, higher accuracy values were achieved in SVM and Logistic Regression (LR) classifiers.

Authors

Institutions

Publication Details

Journal
Çukurova Üniversitesi Mühendislik Fakültesi Dergisi
Published
2024-12-23
DOI
https://doi.org/10.21605/cukurovaumfd.1606169
Primary Topic
Crime Patterns and Interventions
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Crime Prediction with DistilBERT-based Feature Extraction and Machine Learning

Emel ÇOLAKOĞLU, Serhat Hızlısoy, Recep Sinan Arslan
Çukurova Üniversitesi Mühendislik Fakültesi Dergisi
Crime Patterns and Interventions
article

Crime Prediction with DistilBERT-based Feature Extraction and Machine Learning

Emel ÇOLAKOĞLU, Serhat Hızlısoy, Recep Sinan Arslan
article en

Abstract

Crime is all actions and behaviors that harm societies and have a legal and criminal counterpart. Although the fight against crime is basically interpreted as the duty of the state, practices similar to this study are important in order to support the struggle. Because it can create situations that can be interpreted with different analyzes made on crime data. From this point of view, additional measures taken will be an auxiliary element in the fight against crime. Being able to predict the crime that may occur ensures that it is prevented before the crime situation occurs. Therefore, the analysis and prediction of crimes is important in identifying and reducing future crimes. In this research, a model in which features are obtained with DistilBERT and 8 different machine learning algorithms are used as classifiers is proposed. The San Francisco crime dataset, which was used for an online competition managed by Kaggle Inc, was used as the dataset. Unlike the literature, all crime categories (39 categories) in the dataset were included in the study. In addition, obtaining features with DistilBERT is another point that differentiates the study. GridSearchCV was preferred for parameter optimization and a general improvement was observed in the range of 1-2% compared to the default parameters. The highest accuracy rate was accomplished with the Support Vector Machine (SVM) with 99.78%. In addition, with 10-fold cross-validation, higher accuracy values were achieved in SVM and Logistic Regression (LR) classifiers.

Çukurova Üniversitesi Mühendislik Fakültesi DergisiVol. 39(4)
Kayseri Eğitim ve Araştırma Hastanesi (TR), Kayseri Üniversitesi (TR)
Peace, Justice and strong institutions
Openalex Percentile: Top 61%
Crime Patterns and Interventions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Crime Prediction with DistilBERT-based Feature Extraction and Machine Learning — Emel ÇOLAKOĞLU, Serhat Hızlısoy, et al. · Çukurova Üniversitesi Mühendislik Fakültesi Dergisi (2024) | TGRS Research Map | TGRS