Jurnal Algoritma. Logika dan Komputasi Versi Online: https://journal. id/index. php/alu DOI: http://dx. org/10. 30813/j-alu. Vol. Vi (No. : 772 - 780. Th. p-ISSN: 2620-620X e-ISSN: 2621-9840 CONGESTION-PRONE POINT CLASSIFICATION SYSTEM USING SOM METHOD ANDROID-BASED Muhyiddin A. Hayat, muhyiddin@unismuh. Departement of Informatics. Universitas Muhammadiyah Makassar Diterima 1 Mei 2025 / Disetujui 7 Juli 2025 ABSTRACT Urban traffic congestion has emerged as a significant challenge, primarily driven by rapid urban expansion and increasing vehicle usage. This study presents the development of a congestion-prone point classification system utilizing the Self-Organizing Maps (SOM) algorithm, integrated into an androidbased mobile application. The primary objective is to facilitate the real-time detection and visualization of traffic density hotspots using unsupervised machine learning techniques. Traffic-related data comprising vehicle volume, type distribution, and geospatial coordinates are systematically collected, preprocessed, and transformed into multidimensional feature vectors. These vectors are processed using the SOM algorithm to uncover latent congestion patterns across various road segments. Testing results indicate that the proposed model is capable of accurately identifying congestion-prone areas, which are subsequently visualized within the mobile application using a colour-coded map interface. This integration provides commuters and traffic management authorities with actionable, data-driven insights to support route optimization and congestion alleviation strategies. Overall, the proposed system contributes to the advancement of intelligent transportation infrastructure within the broader framework of smart city Keywords: Traffic Congestion. Self-Organizing Map. Android Application. Smart City. Unsupervised Learning. Geospatial Data ABSTRAK Kemacetan lalu lintas pada wilayah perkotaan telah menjadi tantangan krusial yang dipicu oleh pesatnya ekspansi perkotaan dan meningkatnya jumlah kendaraan. Penelitian ini menyajikan pengembangan sistem klasifikasi titik rawan kemacetan menggunakan algoritma Self-Organizing Maps (SOM), yang diintegrasikan ke dalam aplikasi mobile berbasis android. Tujuan utama dari penelitian ini adalah untuk memfasilitasi deteksi dan visualisasi waktu nyata terhadap titik-titik kepadatan lalu lintas melalui teknik machine learning tanpa supervisi. Data lalu lintas yang mencakup volume kendaraan, distribusi tipe kendaraan, dan koordinat geospasial dikumpulkan secara sistematis, dipraolah, dan diubah menjadi vektor fitur multidimensi. Vektor-vektor ini kemudian diproses oleh algoritma SOM untuk mengungkap pola laten kemacetan pada berbagai segmen jalan. Hasil pengujian menunjukkan bahwa model yang diusulkan mampu mengidentifikasi area rawan kemacetan secara akurat, yang selanjutnya divisualisasikan melalui antarmuka pemetaan berwarna dalam aplikasi mobile. Integrasi ini memberikan wawasan berbasis data yang dapat ditindaklanjuti bagi pengguna jalan dan otoritas lalu lintas dalam upaya optimalisasi rute dan mitigasi kemacetan. Secara keseluruhan, sistem yang diusulkan berkontribusi terhadap pengembangan infrastruktur transportasi cerdas dalam kerangka pembangunan kota cerdas. Kata Kunci: Kemacetan Lalu Lintas. Self-Organizing Map. Aplikasi Android. Kota Pintar. Unsupervised Learning. Data Geospasial. *Korespondensi Penulis: E-mail: muhyiddin@unismuh. Jurnal Algoritma. Logika dan Komputasi Versi Online: https://journal. id/index. php/alu DOI: http://dx. org/10. 30813/j-alu. Vol. Vi (No. : 772 - 780. Th. p-ISSN: 2620-620X e-ISSN: 2621-9840 INTRODUCTION Urban traffic congestion presents a significant and escalating challenge, exacerbated by rapid urban expansion and the increasing prevalence of private vehicle ownership . These conditions contribute to persistent traffic bottlenecks, particularly in areas characterized by inadequate infrastructure and widespread illegal parking practices. The resulting disruptions to traffic flow not only impede urban mobility but also intensify environmental degradation an issue that reflects broader patterns observed in many metropolitan centres globally . Despite ongoing traffic management efforts, existing systems in Makassar lack the analytical sophistication required to classify congestion-prone areas based on dynamic and multidimensional traffic indicators. This shortcoming limits the ability of traffic authorities to deploy targeted interventions and make real-time, data-informed decisions . Infrastructural determinants, such as intersection density and the absence of formal parking zones, further intensify congestion along critical corridors, underscoring the need for analytical tools capable of capturing and interpreting these spatial complexities . To address these challenges, this study proposes the development of a congestion-prone point classification system utilizing the SOM algorithm . SOM is a robust unsupervised machine learning technique known for its ability to process high-dimensional datasets and map them into lower-dimensional topologies that reveal latent spatial and temporal patterns . The objective of this research is to facilitate the real-time identification and geospatial visualization of traffic congestion zones by incorporating key variables, including traffic volume, vehicle composition, temporal fluctuations, and positional data. These outputs will be integrated into an Android-based mobile application, designed to provide traffic management authorities and urban commuters with actionable insights to optimize routing, inform infrastructure planning, and implement effective congestion mitigation strategies . The integration of intelligent transportation systems into urban traffic governance has shown considerable promise in enhancing operational efficiency and supporting long-term sustainability Recent studies have highlighted the transformative potential of artificial intelligence (AI) in advancing real-time traffic management, particularly through applications in routing optimization and congestion prediction . As urban environments continue to confront the compounded pressures of population growth, vehicular demand, and environmental degradation, innovative frameworks that leverage machine learning and real-time analytics are essential. Developing such data-driven solutions is pivotal to realizing sustainable, adaptive, and intelligent urban transport systems . This study introduces a SOM-based framework to classify congestion-prone areas in Makassar City using multidimensional traffic data. It enables real-time detection and visualization of traffic hotspots by integrating traffic volume, vehicle types, temporal patterns, and geospatial The model is deployed in an Android-based mobile application to provide practical support for commuters and traffic authorities. This research contributes to intelligent transportation systems by promoting data-driven urban mobility management, offering a scalable solution applicable to other urban contexts. METHOD Data Collection The data collection phase serves as a critical foundation for the successful implementation of the Self-Organizing Map (SOM) classification system in this study. The primary data types collected include: Traffic Volume Data This dataset captures the number of vehicles passing through specific road segments over a defined period. It serves as a key indicator of traffic density and is essential for identifying peak and off-peak congestion levels. Vehicle Type Distribution Jurnal Algoritma. Logika dan Komputasi Versi Online: https://journal. id/index. php/alu DOI: http://dx. org/10. 30813/j-alu. Vol. Vi (No. : 772 - 780. Th. p-ISSN: 2620-620X e-ISSN: 2621-9840 Data on the types of vehicles helps assess the impact of different vehicle classes on This information supports clustering road segments with distinct traffic compositions. Geospatial Coordinates (GPS Dat. Each traffic record is tagged with latitude and longitude coordinates to enable precise spatial mapping of congestion-prone points within the city. All collected data are structured into feature vectors suitable for input into the SOM Prior to model training, the data undergo preprocessing steps including normalization, noise filtering, and dimensional alignment. The resulting dataset serves as the basis for unsupervised clustering, enabling the identification of congestion-prone areas that reflect both the spatial and temporal dynamics of urban traffic in Makassar. Android Operation System The Android operating system, based on the Linux kernel, has rapidly become the most widely used mobile OS globally due to its open-source nature . , enabling extensive flexibility and customization for developers and users alike . Initiated by Google. Android integrates middleware and various applications within its environment, allowing developers to create a multitude of applications, which significantly contributes to its popularity . The operating system's open architecture not only appeals to users but also fosters a vast ecosystem of applications that can be tailored for different devices and user needs . As of 2021. Android dominated the mobile operating system market, boasting an estimated 80% share among smartphone users, significantly outpacing its closest rival. Apple's iOS . The growth of Android has been propelled by major companies integrating this OS into their devices, with over 8 billion active users by 2021 . This expansive reach into various demographic segments underscores Android's accessibility, particularly in regions such as Southeast Asia, where it reportedly holds market shares upwards of 89% in some areas as of late 2022 . However, with such widespread adoption comes heightened security risks. Android devices are frequent targets for malware, including viruses. Trojans, and ransomware, leading to significant vulnerabilities for users . Malware targeting the Android operating system can affect countless users due to the diverse range of applications and services running on these Reports indicate that nearly half of Android malware is multifunctional Trojans, commonly designed to steal sensitive personal information . In response to the growing threat landscape, various detection methodologies, such as machine learning, have been proposed to combat these malicious activities effectively . The Android operating system stands as a leading mobile platform characterized by its extensive user base and flexibility for developers. Self-Organizing Maps (SOM) Self-Organizing Maps represent a prominent unsupervised learning technique within neural networks, particularly useful for dimensionality reduction and clustering in various fields of The development of SOM, introduced by previous research, enables the mapping of highdimensional data into a low-dimensional, typically two-dimensional, space while preserving topological properties . This mapping operates through a competitive learning mechanism that allows each node to adaptively respond to input data based on similarity, thus forming SOM are particularly effective in handling multidimensional data, finding extensive applications in areas such as climatology, epidemiology, and socio-economic studies. For instance, they have been used to analyze complex weather patterns, revealing intrinsic data structures by projecting weather-related variables into a manageable visual format . Moreover, the adaptability of SOM is well-documented in the literature. They have been integrated with various clustering techniques, enhancing their utility. Comparisons with methods like fuzzy c-means have demonstrated the effectiveness of SOM in specific contexts . The self-organizing mechanism allows for an intuitive and interpretable clustering outcome, which is a significant advantage for exploratory data analysis . Researchers have illustrated that employing SOM, alongside complementary methods, can yield informative clusters that can Jurnal Algoritma. Logika dan Komputasi Versi Online: https://journal. id/index. php/alu DOI: http://dx. org/10. 30813/j-alu. Vol. Vi (No. : 772 - 780. Th. p-ISSN: 2620-620X e-ISSN: 2621-9840 facilitate decision-making processes in diverse sectors, from healthcare to urban planning . In recent advancements, researchers are also focusing on enhancing the robustness and efficiency of SOM. Techniques such as integrating SOM with genetic algorithms for portfolio optimization underline their versatility and applicability across different domains . The core principle of the SOM algorithm is the gradual reduction of influence from neighboring nodes. Ultimately, only a single output node is selected as the winner node. The SOM algorithm operates through the following steps . Initialize the weight vectors and the learning rate yu. Repeat the following steps until the stopping condition is met: For each input vector ya, perform the following: For each output node yc, calculate the distance: yayc = Ocyc ( ycycycn Oe ycuyc )2 . Identify the index yc with the smallest yayc value Ai this is the winner node. Update the weights of the winner node and its neighbors using the formula: ycycnycnew = ycycnycold yu. cuycn Oe ycycnycold ) . where yc = weight vector, yu = learning rate 0 < yu. < 1, ycu = input vector, ycn = index of input node, and yc = index of output node. Update the learning rate yu over time. Reduce the neighborhood radius as learning progresses. Check if the stopping condition is met. SOM method demonstrates a profound potential as a versatile tool for clustering and dimensionality reduction in various fields. Framework Proposed To systematically address the issue of traffic congestion, this study adopts a framework that integrates intelligent data processing and mobile-based visualization, as illustrated in Figure 1. Figure 1. Framework Proposed Jurnal Algoritma. Logika dan Komputasi Versi Online: https://journal. id/index. php/alu DOI: http://dx. org/10. 30813/j-alu. Vol. Vi (No. : 772 - 780. Th. p-ISSN: 2620-620X e-ISSN: 2621-9840 The adoption of a SOM-based traffic classification framework represents an innovative and systematic strategy to address persistent congestion challenges. By capturing the multifaceted dimensions of urban mobility patterns, this approach facilitates evidence-based decision-making and long-term improvements in traffic flow, ultimately contributing to a more sustainable and efficient urban transportation system. RESULTS AND DISCUSSION Implementation of The SOM Method The simulation results were validated to ensure that the model did truly described the actual system conditions. The verification process was conducted by checking the model and unit using the facilities available in Vensim. System validation can be carried out in two ways: model validation with mean comparison test statistics, or model validation with amplitude variation comparison tests or percentage error variance . To demonstrate the working mechanism of the SOM algorithm in the proposed congestionprone classification system, a simplified case scenario is implemented. This simulation reflects the process of classifying traffic condition vectors into predefined clusters using SOM logic, which is later integrated into the Android-based application for real-time classification of road congestion in Makassar City. The process of applying the SOM method involves several features, including, firstly, the Speed variable, which contains the average speed of the vehicle at that point . Secondly, the Vehicle Count variable, which contains the average number of vehicles per hour as simulated by a loop detector sensor. Thirdly. Road Width variables contain the road width in meters. Fourthly. Signal Delay loads the length of the waiting time at the red light in seconds. Lastly. Intersections contains the number of intersections within a given radius of the point. The Dataset used in this study is shown in Table 1. Table 1. Dataset Collected Point P10 P11 P12 P13 P14 P15 P16 P17 Speed Vehicle Count Road Width Signal Delay Intersections Based on the data in Table 1, the data update process is carried out by calculating the Euclidean distance between the data and each neuron. It is followed by determining the best matching unit based on the neurons with the closest distance. The results of the calculation in iteration 1 are shown in Table 2. Table 2. Calculation Result of Updating Neuron Neurons Neuron 0 (Befor. Neuron 0 (Afte. Neuron 1 (Befor. Neuron 1 (Afte. Speed Vehicle Width Delay Intersections Jurnal Algoritma. Logika dan Komputasi Versi Online: https://journal. id/index. php/alu DOI: http://dx. org/10. 30813/j-alu. Vol. Vi (No. : 772 - 780. Th. p-ISSN: 2620-620X e-ISSN: 2621-9840 Illustration of the calculation of neuron value update on feature speed using written valuesyu = 0. Speed =0. 143 - 0. = 0. 3745 - 0. 11575 = 0. The overall calculation results are shown in Table 3. Table 3. Calculation Results of Update Feature Feature Old Weight Input New Weight Speed Vehicle Width Delay Intersections Each road segmentAos data is encoded into a vector and processed using the trained SOM The resulting classification assigns the segment to a specific congestion-prone cluster. Comparison between the Co-Prone Location application and the actual situation in front of Warkop 27 Alauddin street, as shown in Figures 2 and 3. Figure 2. Comparison of applications on Smooth traffic conditions Figure 3. Comparison of Applications in Traffic Jam situations Jurnal Algoritma. Logika dan Komputasi Versi Online: https://journal. id/index. php/alu DOI: http://dx. org/10. 30813/j-alu. Vol. Vi (No. : 772 - 780. Th. p-ISSN: 2620-620X e-ISSN: 2621-9840 The Android application then fetches this classification and visualizes it using color-coded Low congestion Moderate congestion High congestion This implementation enables the system to dynamically learn and adapt to new traffic patterns, providing users with up-to-date congestion levels and supporting proactive navigation decisions for commuters. The results and discussion of this study demonstrate the effective implementation of the SelfOrganizing Maps method in classifying congestion-prone areas in Makassar City. By processing normalised traffic data, which includes average vehicle speed, vehicle count, road width, signal delay, and intersection density, the SOM algorithm calculates Euclidean distances to determine the best matching unit for each data point, followed by weight updates using a learning rate of The simulation, conducted at 17 traffic points, validates the modelAos ability to adapt to realworld traffic patterns through accurate adjustments to neuron weights. The classification results categorize traffic conditions into low, moderate, and high congestion levels, which are visualized in real-time through an Android-based application using a colour-coded map interface. comparative test case near Warkop 27. Jalan Alauddin, supports the accuracy of the applicationAos output by aligning well with actual traffic observations. Overall, the SOM-based system proves to be a reliable, adaptive, and practical tool for real-time congestion monitoring, offering valuable support for both commuters and traffic authorities in making informed navigation and planning CONCLUSION This research demonstrates that the application of the Self-Organizing Map (SOM) algorithm in classifying congestion-prone areas provides a practical and scalable solution to traffic management challenges in Makassar City. By processing key features such as traffic volume, vehicle composition, and temporal flow, the SOM model successfully clusters urban road segments based on congestion severity. When integrated into an Android-based application, the system provides a user-friendly, real-time visualization tool for both users and traffic authorities. The case simulation confirmed the algorithm's ability to adapt and classify traffic data Overall, this approach provides a data-driven and user-oriented framework to support route optimization, infrastructure planning, and proactive traffic mitigation strategies, ultimately contributing to more sustainable urban transportation systems. REFERENCES