DEVELOPMENT OF A MACHINE LEARNING MODEL FOR CRIME PREDICTION AND SPATIAL HOTSPOT ANALYSIS IN NIGERIA
Keywords:
crime prediction; machine learning; spatial hotspot analysis; kernel density estimation; neural networks; NigeriaAbstract
Crime prevention requires timely information about where and when incidents may occur. In Nigeria, fragmented reporting systems, underreporting, inconsistent geocoding, and uneven data coverage complicate the use of historical crime records for operational planning. This study presents an integrated framework for place-based crime prediction and spatial hotspot analysis that combines supervised machine learning with geospatial methods. The workflow includes data cleaning, coordinate validation, spatiotemporal feature engineering, class-imbalance handling, supervised classification, kernel density estimation (KDE), and density-based clustering. In the reported hold-out evaluation, a multilayer perceptron (MLP) achieved 91.15% accuracy, 90.42% precision, 89.78% recall, a 90.10% F1-score, and a receiver operating characteristic area under the curve (ROC-AUC) of 0.9521. A tuned Random Forest achieved 88.92% accuracy. The spatial analysis identified concentrations of recorded incidents in selected urban locations and along the Kaduna–Abuja transit corridor, which had the highest reported hotspot-intensity ratio (5.12). These results indicate the potential value of integrating classification and spatial analysis, but incomplete documentation of the dataset and validation procedure limits independent assessment and national generalisation. The framework is intended to support place-based prevention, with privacy protection, bias monitoring, and human review; it does not support individual-level labels of criminality
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.