Crime is a social issue that continues to evolve alongside increasing community activity and regional development. This study aims to Cluster crime data in Binjai City based on the location of incidents using the K-Means algorithm and the Cross Industry Standard Process for Data Mining (CRISP-DM) approach. The data were obtained from the Binjai Police Department, with attributes including the type of crime, time of occurrence, and location, categorized by district. A comprehensive data preprocessing stage was carried out, involving the extraction of information from raw data, normalization of crime type labels, and conversion of categorical data into numerical form using label encoding. The optimal number of Clusters was determined using the Silhouette score method, which yielded the best result at K = 10. The Clustering results were further evaluated using the Davies-Bouldin Index (DBI) to ensure Cluster quality. The analysis revealed that Binjai Utara District has the highest number of crimes, particularly aggravated theft (curat), which frequently occurs from early morning to late morning. This Clustering is expected to provide valuable insights for authorities in formulating more targeted and data-driven regional security strategies.
Copyrights © 2025