scieee AI-readable full text Open interactive document viewer

SCALABILITY AND EFFICIENCY OF CLUSTERING ALGORITHMS FOR LARGE-SCALE IoT DATA: A COMPARATIVE ANALYSIS

Journal of Theoretical and Applied Information Technology

Abstract

This research investigates the scalability and efficiency of clustering algorithms applied to large-scale Internet of Things (IoT) data. A comprehensive evaluation is conducted on fourteen clustering algorithms—Affinity Propagation, Agglomerative, BIRCH, Bisecting K-Means, DBSCAN, Fuzzy C-Means, Gaussian Mixtures, HDBSCAN, K-Means, Mean-Shift, OPTICS, Overlapping K-Means, Spectral Clustering, and Ward-Hierarchical—across datasets ranging from 40,000 to 100,000 sensor readings. The study systematically analyzes execution time and clustering performance to determine their suitability for large-scale IoT applications. Results indicate that K-Means, Ward-Hierarchical, and BIRCH exhibit strong scalability and computational efficiency, whereas Affinity Propagation and Spectral Clustering face significant challenges with increasing dataset size. These findings provide valuable guidance for selecting optimal clustering techniques in IoT-based data analytics, considering factors such as computational constraints, dataset characteristics, and clustering granularity.

Full text

Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4227 SCALABILITY AND EFFICIENCY OF CLUSTERING ALGORITHMS FOR LARGE-SCALE IoT DATA: A COMPARATIVE ANALYSIS PRABHAT DAS1,2, KARTHIK KOVURI3, SAJAL SAHA4 1PhD Scholar, Department of Information Technology, The Assam Kaziranga University, India 2Faculty, Department of Computer Science and Engineering, Adamas University, India 3Professor, Department of Computer Science and Engineering, The Assam Kaziranga University, India 4Professor, Department of Computer Science and Engineering, Adamas University, India E-mail: 1,2prabhatdash037[email protected], [email protected], [email protected] ABSTRACT This research investigates the scalability and efficiency of clustering algorithms applied to large-scale Internet of Things (IoT) data. A comprehensive evaluation is conducted on fourteen clustering algorithms—Affinity Propagation, Agglomerative, BIRCH, Bisecting K-Means, DBSCAN, Fuzzy C-Means, Gaussian Mixtures, HDBSCAN, K-Means, Mean-Shift, OPTICS, Overlapping K-Means, Spectral Clustering, and WardHierarchical—across datasets ranging from 40,000 to 100,000 sensor readings. The study systematically analyzes execution time and clustering performance to determine their suitability for large-scale IoT applications. Results indicate that K-Means, Ward-Hierarchical, and BIRCH exhibit strong scalability and computational efficiency, whereas Affinity Propagation and Spectral Clustering face significant challenges with increasing dataset size. These findings provide valuable guidance for selecting optimal clustering techniques in IoT-based data analytics, considering factors such as computational constraints, dataset characteristics, and clustering granularity. Keywords: Clustering Algorithms, IoT Data Clustering, Comparative Analysis, Sensor Data Analysis, Bibliometric Analysis, Machine Learning in IoT, Multi-Dimensional Data Clustering 1. INTRODUCTION Clustering of IoT data represents a form of unsupervised classification widely studied in the fields of data mining and machine learning due to its relevance for summarization, learning, segmentation, and market partitioning [1]. This technique involves grouping items or data into clusters where elements within each group share similar traits, while data between groups exhibit distinct differences [2]. Clustering plays a crucial role by identifying inherent groupings within unlabeled data, which is vital for uncovering hidden patterns and improving system efficiency. Given the critical and sensitive nature of IoT data, precise handling is imperative. IoT data is characterized by the "5Vs": Volume, Velocity, Veracity, Variety, and Value, making it complex to process and analyze. Defined as large volumes of data generated in real time, IoT data requires processing to extract valuable insights that support informed decision-making. The Figure 1 represented below visually demonstrates how IoT application features integrate within connected systems, highlighting the importance of clustering in organizing and optimizing such environments. The illustration underscores the role of clustering in enhancing decision-making and improving the performance of IoT systems within interconnected networks. In today’s generation a huge chunk of data is being generated by people, things and via their technology interactions. IoT data being a multi variated data also come with multiple variable and constraints which needs to be processed further. Although the information obtained from various sources is beneficial to individuals and businesses, data management and analysis is a time-consuming process. As a result, IoT data still has several flaws in terms of data management [4]. Different scholars have offered a number of solutions to these problems. However, clustering of IoT data is the most successful technique to date. Finding homogenous groupings of data items is the basic objective of the clustering activity. Many academics in the field of IoT have given many clustering algorithms, but the primary challenge is that the Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4228 kind and capacity of the data are unclear. For this reason, it is crucial to plan and develop a powerful algorithm to manage this IoT data. The following bases can be used to categorize clustering algorithms: Overlapping-based, Hierarchical-based, Density-based, Fuzzy based, and Distribution-based. This study's aim is to present a comprehensive analysis and performance-based comparison of several large data clustering techniques. This will assist researchers in choosing the finest clustering algorithm for a certain circumstance and assist them in designing an effective clustering algorithm by taking into account the benefits and drawbacks of each method. The significance of clustering in the field of the Internet of Things (IoT) cannot be overstated. Clustering is particularly valuable in IoT for several reasons: it enables the efficient processing and analysis of large datasets, facilitates anomaly detection and predictive maintenance, enhances data security by identifying unusual patterns, and improves decision-making by providing actionable insights [5]. Moreover, clustering can significantly reduce the complexity and dimensionality of IoT data, making it more manageable and interpretable. As such, the deployment of clustering algorithms stands as a cornerstone in harnessing the full potential of IoT, driving innovations, and optimizing operations across various industries [6]. The citation network analysis was conducted to explore highly cited publications on Clustering Algorithms in Internet of Things (IoT) research between 2011 to 2024. The bibliometric data has been extracted from the Scopus database, and a visualization has been generated using VOSviewer 1.6.19 software. Out of 2,213 documents, 892 documents met the criterion of having at least 5 citations. Notably, the document authored by Feng Chen et al. [7] emerged as the most influential, with 408 citations, positioned at the bottom right of the visualization. Following closely is the publication authored by Zhihua Cui et al. [8], located at the center, garnering 379 citations. Another prominent node in the network, positioned at the top right, represents the document authored by Trupti Mayee Behera et al. [9], with 356 citations. These key nodes indicate significant contributions and high impact within the realm of clustering algorithms in IoT research. Additionally, the visualization highlights interconnected research clusters, showcasing evolving trends, influential collaborations, and emerging areas of interest within the field. Figure 1: Integration and Impact of IoT Application Features in Connected Ecosystems [3]. Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4229 2. CLUSTERING OVERVIEW Before delving into recent works, it is essential to understand the clustering algorithms that form the foundation of this study. Clustering techniques vary in their approach to grouping data, each with distinct computational properties and applicability. Some algorithms prioritize speed and scalability for large datasets, while others focus on uncovering complex structures at a higher computational cost. The choice of method depends on factors like data distribution, noise tolerance, and clustering granularity. A clear understanding of these algorithms is crucial for evaluating their efficiency, scalability, and suitability for large-scale IoT data analysis. The following section provides a comprehensive discussion on the taxonomy of the 14 clustering algorithms, categorizing them based on their methodologies. By classifying these techniques into partition-based, hierarchical, density-based, and model-based approaches, we establish a structured framework for comparing their strengths, Figure 2: Visualization Map of highly cited publications in application of clustering algorithms in IoT. Figure 3: Taxonomy of different algorithms used for clustering [10]. Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4230 limitations, and applications. This categorization lays the foundation for analyzing their performance, ensuring a systematic approach to selecting the most suitable algorithm for IoT-driven clustering tasks. 2.1 K-Means Allocates each point to the proximity cluster center and then computing those centers as the mean of the given points, the K-Means algorithm divides data into K clusters. This process is repeated until cluster assignments stabilize. Step by step explanation of K-Means clustering algorithm [11]: Step 1: Initialize: Randomly select 𝐾 centroids. Step 2: Assign: For each point 𝑥, find the nearest centroid 𝑐 and assign 𝑥 to cluster 𝑗. 𝑗=argmin  ∥𝑥−𝑐∥ Step 3: Update: Recalculate centroids as the mean of all points assigned to that centroid’s cluster. 𝑐=1 𝑆𝑥 ∈ Step 4: Repeat steps 2 and 3 until convergence. 2.2 Affinity Propagation Affinity Propagation exchanges communications between data points until a group of exemplars (representative examples) appears, utilizing which affinity propagation builds clusters. Each data point selects the exemplar it most closely resembles based on these shared characteristics. Step by step explanation of affinity propagation clustering algorithm [12]: Step 1: Similarity Computation: Compute similarity 𝑠(𝑖,𝑘) between data points. Step 2: Message Update: Iteratively update "responsibility" 𝑟(𝑖,𝑘) and "availability" 𝑎(𝑖,𝑘). Responsibility: 𝑟(𝑖,𝑘)←𝑠(𝑖,𝑘)−max 󰆒{𝑎(𝑖,𝑘′)+𝑠(𝑖,𝑘′)} Availability: 𝑎(𝑖,𝑘)←min󰇱0,𝑟(𝑘,𝑘) +  max 󰆒∉{,} {0,𝑟(𝑖′,𝑘)}󰇲 Step 3: Criterion for Exemplars: Determine exemplars based on the sum of responsibility and availability. Step 4: Assign: Assign points to their respective exemplars. 2.3 Mean-Shift The non-parametric Mean Shift Clustering algorithm that finds dense regions of data points by iteratively shifting points towards the mode (the highest density of points) using a sliding window. It automatically discovers the number of clusters based on the data's spatial distribution. Step by step explanation of mean-shift clustering algorithm [13]: Step 1: Choose Kernel: Select a kernel function 𝐾(𝑥) and bandwidth ℎ. Step 2: For each data point 𝑥: 𝑚(𝑥)=∑𝐾 ∈()󰇡𝑥−𝑥 ℎ󰇢𝑥 ∑𝐾 ∈()󰇡𝑥−𝑥 ℎ󰇢 Shift 𝑥 towards 𝑚(𝑥). Step 3: Cluster Identification: Group points that converge to the same region. 2.4 Spectral Clustering By performing dimensionality reduction using the eigenvalues of a similarity matrix, spectral clustering is a clustering technique that finds clusters in lower-dimensional space. It's particularly effective for discovering clusters that are not linearly separable. Step by step explanation of spectral clustering algorithm [14]: Step 1: Construct Similarity Graph: Create affinity matrix 𝐴. Step 2: Graph Laplacian: Compute 𝐿=𝐷−𝐴, where 𝐷 is the degree matrix. Step 3: Eigenvalue Decomposition: Find eigenvectors of 𝐿. Step 3: K-Means on Eigenvectors: Apply K-Means clustering. Step 4: Assign Clusters: Based on the K-Means result. Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4231 2.5 Ward’s Hierarchical Clustering It, groups data points into clusters based on the principle of minimizing the sum of squared differences within all clusters. Step by step explanation of ward’s hierarchical clustering algorithm [15]: Step 1: Initialize: Each point as its own cluster. Step 1: Initialize: Each point as its own cluster. Step 2: Find Pair: Identify pair of clusters to merge, minimizing increase in total variance. 𝛥(Var)=Var𝐶merged−Var(𝐶)−Var𝐶 Step 3: Merge: Combine the pair. Step 4: Repeat: Until desired number of clusters. 2.6 Agglomerative Clustering In this algorithm each observation starts within a cluster of its own when employing a bottom-up hierarchical clustering technique called agglomerative clustering. Pairings of clusters are merged as one moves up the hierarchy. Up until every point is combined becomes a solitary cluster or a stopping requirement is satisfied, the procedure iteratively continues. Step by step explanation of agglomerative clustering algorithm [16]: Step 1: Initialize: Consider each data point as a single cluster. Step 2: Compute Distance: Use a linkage criterion to calculate the distance between clusters. Step 3: Merge: Join the two closest clusters. Step 4: Update Distance: Recalculate the distance matrix for the newly formed cluster. Step 5: Repeat: Until the desired number of clusters is achieved. 2.7 DBSCAN It is an algorithm used to recognize clusters of closely located points and to differentiate these from outliers, which are points in areas of low density. This method relies on two main parameters: MinPts, which is the minimum number of points needed to define a cluster, and epsilon (ε), which is the search radius around a point to determine if it's part of a dense region. Step by step explanation of DBSCAN clustering algorithm [17]: Step 1: Identify Core Points: A point is a core point if it has more than 𝑀𝑖𝑛𝑃𝑡𝑠 within a radius 𝜖. Step 2: Expand Clusters: Form a cluster by recursively adding all directly reachable points from core points. Step 3: Assign Non-Core Points: Label non-core points as border points or noise. 2.8 HDBSCAN (Hierarchical Density-Based Spatial Clustering of Applications with Noise) It is a method that expands on DBSCAN by making it a hierarchical clustering technique that doesn't require a preset distance value. (\epsilon). It identifies clusters of varying densities and is robust to noise and outliers. Step by step explanation of HDBSCAN clustering algorithm [18]: Step 1: Transform Space: Convert the space according to the density/sparsity of the data. Step 2: Build Minimum Spanning Tree: Create a minimum spanning tree from the weighted graph of the data. Step 3: Convert Tree to Hierarchy: Derive a hierarchy of connected components. Step 4: Condense Tree: Prune the hierarchy to find significant clusters. Step 5: Extract Clusters: Determine clusters from the condensed tree based on stability. 2.9 HDBSCAN (Hierarchical Density-Based Spatial Clustering of Applications with Noise) Is an algorithm similar to DBSCAN but instead creates an ordering of points to allow for variable density clustering and extraction of hierarchy and reachability plots, which provide a visualization of cluster structures. Step by step explanation of OPTICS clustering algorithm [19]: Step 1: Order Points: Arrange points to identify the spatial structure. Step 2: Core Distance: For a point 𝑝, compute the smallest distance within which 𝑀𝑖𝑛𝑃𝑡𝑠 are contained. Step 3: Reachability Distance: Calculate the reachability distance for each point. Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4232 Step 4: Build Reachability-Plot: Generate a plot based on the reachability distances. Step 5: Extract Clusters: Identify clusters based on valleys in the reachability plot. 2.10 Gaussian Mixture Models (GMM) A probabilistic approach known as Gaussian Mixture Models (GMM) clustering makes the assumption that each data point is the result of a blend of multiple Gaussian distributions with unknown parameters. It finds the greatest probability estimations for the parameters using the Expectation-Maximization (EM) technique, enabling soft-clustering of the data. Detailed description of the GMM clustering algorithm [20]: Step 1: Initialize Parameters: Choose initial values for the means, variances, and mixing coefficients. Step 2: Expectation Step (E-Step): Assign each data point a probability of belonging to each cluster. 𝛾(𝑧)=𝜋𝒩(𝑥|𝜇,𝛴) ∑𝜋   𝒩𝑥|𝜇,𝛴 Step 3: Maximization Step (M-Step): Update the parameters to maximize the likelihood of the data. 𝜇 new =1 𝑁𝛾   (𝑧)𝑥 Step 4: Repeat: Until the log-likelihood converges. 2.11 BIRCH (Balanced Iterative Reducing and Clustering using Hierarchies) Incrementally constructs a tree structure (CF Tree) that captures the essence of the data. It then applies a global clustering algorithm to the leaf nodes of this tree, efficiently handling noise and discovering clusters with varying shapes and sizes. Step by step explanation of BIRCH clustering algorithm [21]: Step 1: Build CF Tree: Sequentially insert data points into a CF Tree, adhering to the threshold and branching factor limits. Step 2: Condense Tree: Optionally, condense the tree to improve the quality of clustering. Step 3: Global Clustering: Apply a global clustering algorithm on the leaf entries. Step 4: Refine Clustering: Optionally, refine the clustering by reassigning points or adjusting the tree. 2.12 Bisecting K-Means Bisecting K-Means is a variant of the KMeans clustering algorithm that iteratively splits clusters with the conventional K-Means technique, into two. With K=2, selecting the best split until the required number of clusters is obtained at each stage. It combines elements of hierarchical clustering with the efficiency of K-Means. Step by step explanation of bisecting k-means clustering algorithm [22]: Step 1: Select a Cluster: Choose a cluster to bisect. Step 2: Bisect: Apply K-Means with 𝐾=2 on the selected cluster. Step 3: Choose Next: Select the next cluster to bisect, based on some criterion. Step 4: Repeat: Continue until the desired number of clusters is formed. 2.13 Fuzzy C Means: It is a clustering technique that applies fuzzy sets to cluster assignment, which sets it apart from K-Means and permits data points to belong to several clusters with different levels of membership. By using this method, the objective function that calculates the distance between a data point and a cluster center, weighted by the point's membership degree, is minimized. Step by step explanation of fuzzy C means clustering algorithm [23]: Step 1: Initialize Membership Matrix 𝑈: Randomly assign membership levels for each data point to each cluster. Step 2: Calculate Centroids: Update the cluster centers based on the membership degrees. 𝑐=∑𝑢   𝑥 ∑𝑢    Step 3: Update Membership 𝑈: Recalculate the membership of each data point to each cluster. 𝑢=1 ∑∥𝑥−𝑐∥ ∥𝑥−𝑐∥    Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4233 Step 4: Repeat: Until the membership matrix stabilizes. 2.14 Overlapping k-Means: An improvement on the standard K-Means approach, overlapping K-Means clustering enables the identification of clusters in which a single data point can be a member of many groups, rather than being assigned to just one. This method is particularly useful in scenarios where data naturally belongs to overlapping groups or categories. Step by step explanation of overlapping k-means clustering algorithm [24]: Step 1: Initialize: Allow data points to have membership in multiple clusters. Step 2: Assign Membership: Update the membership of each data point based on its distance to each cluster center. Step 3: Update Centers: Recalculate the cluster centers considering the degrees of membership. Step 4: Repeat: Iteratively adjust memberships and centers until convergence. Parameter Description Applicable Algorithms Number of Clusters ( 𝐾 or Equivalent) Many clustering algorithms require specifying the cluster numbers that needs to be identified. K-Means, Spectral Clustering, Gaussian Mixture Models, BIRCH, Bisecting K-Means, Fuzzy C Means, Overlapping KMeans Distance Metric The choice of distance metric can significantly affect cluster formation, especially in algorithms relying on the notion of distance for membership or centroid computation. K-Means, Agglomerative, DBSCAN, HDBSCAN, OPTICS, Fuzzy C Means Density Parameters Parameters defining density criteria to identify core points, reachable points, and noise, including the minimal number of points within a specified radius ( 𝜖 ). DBSCAN, HDBSCAN, OPTICS Similarity or Affinity Measure Influences how clusters are formed according to the resemblance (or affinity) between data points. Affinity Propagation, Spectral Clustering Kernel Function and Bandwidth The choice of kernel function and its bandwidth defines the weighting of points within a region to find directions of maximum density. Mean-Shift Linkage Criterion Determines how the distance between clusters is calculated, influencing which clusters are merged as the algorithm progresses. Agglomerative Clustering, Ward's Hierarchical Clustering Convergence Criterion or Iteration Limit Most algorithms repeat their operations until a maximum number of iterations is achieved or a convergence requirement is satisfied. Nearly all algorithms Cluster Stability or Quality Measures Parameters or internal measures that help determine the "best" number of clusters or assess the quality/stability of identified clusters. HDBSCAN, BIRCH, Gaussian Mixture Models Table 1: Different Parameters used by the clustering algorithms [11]-[24]. Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4234 3. LITERATURE REVIEW The efficiency of clustering algorithms largely depends on their scalability and execution time, particularly when managing large, highvelocity datasets like those generated by IoT devices. Partition-based methods, such as K-Means and Bisecting K-Means, are widely favored for their simplicity and linear time complexity, making them suitable for high-dimensional data [25][26]. However, these methods typically assume spherical cluster shapes and require predefining the number of clusters, limitations that hinder their adaptability to dynamic IoT environments. BIRCH, originally designed for very large databases, offers memory-efficient incremental clustering [27]. Yet, despite its promise, it has seen limited empirical validation on massive, heterogeneous IoT datasets. Hierarchical clustering techniques, including Agglomerative Clustering and Ward's method, often suffer from high computational complexity (O(n²) or worse), making them impractical for real-time applications involving sensor networks [28]. Density-based approaches such as DBSCAN, OPTICS, and HDBSCAN are effective for identifying arbitrarily shaped clusters and noise [17][19]. Nevertheless, as dataset size increases, these algorithms become computationally expensive. Moreover, while OPTICS mitigates DBSCAN’s fixed epsilon limitation, its applications have largely been confined to geospatial and biological datasets, without sufficient exploration in large-scale IoT contexts [29]. Other advanced methods like Affinity Propagation and Spectral Clustering can produce high-quality results but impose excessive computational demands, limiting their scalability for IoT systems [30]. Despite their strengths, these algorithms have not been rigorously tested under the continuous data streams and real-time demands characteristic of IoT sensor networks. Many prior studies have investigated clustering techniques across different domains; however, the majority focus on traditional, structured datasets rather than on vast, dynamically evolving IoT data. For instance, Nhat et al. [31] evaluated BIRCH for clustering financial transactions, demonstrating efficient handling of streaming data but without addressing IoT-specific challenges such as temporal irregularity and sensor heterogeneity. Marella et al. [32] applied OPTICS for anomaly detection in network traffic but did not analyze performance at IoT scale. Similarly, Wang et al. [33] proposed a two-phase GIS-based HDBSCAN clustering approach for traffic analysis, while Yadav et al. [34] surveyed clustering algorithms without concentrating on execution time or scalability for IoT. Studies like those by Sheng et al. [35] and Chakraborty et al. [36] highlight the effectiveness of K-Means and Affinity Propagation in healthcare and image processing respectively, yet neglect to evaluate their scalability under continuous, high-volume IoT conditions. Across these prior works, a critical shortcoming persists: the absence of a comprehensive, empirical comparison of clustering algorithms designed specifically for large-scale, real-time IoT datasets. To the best of our knowledge, no existing study systematically benchmarks a wide range of clustering algorithms while analyzing both execution time and scalability in the context of dynamic IoT environments [37][38]. This research bridges the gap by evaluating 14 clustering algorithms across datasets comprising 40,000 to 100,000 IoT sensor readings, offering insights into their performance under real-world, large-scale conditions. Unlike earlier studies limited to financial, healthcare, or geospatial domains, this work directly addresses IoT-specific demands such as real-time adaptability, scalability, and execution efficiency. This work provides an empirical comparison to guide researchers and practitioners in selecting clustering techniques based on dataset size, computational resources, and effectiveness for largescale IoT applications. Although clustering has been applied in finance, healthcare, and geospatial studies, evaluations tailored to massive IoT sensor datasets remain scarce. Table 2 summarizes key prior studies and their limitations, while Figure 4 highlights research gaps. Prior research often lacked scalability focus for IoT data or was confined to structured datasets. This study addresses these gaps, while future work can explore energy-efficient clustering and adaptive methods for evolving IoT environments. Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4235 Study Dataset Type Algorithm(s) Used Focus Area Identified Gap Nhat et al. [31] Financial transactions BIRCH Streaming data clustering Did not apply to IoT sensor networks Marella et al. [32] Network traffic OPTICS Anomaly detection in noisy data Not tested on IoT temporal data Wang et al. [33] Traffic accident GIS data HDBSCAN Accident blackspot identification Focused on geospatial data, not IoT Yadav et al. [34] General datasets Multiple clustering algorithms Broad algorithm review No scalability analysis for IoT data Sheng et al. [35] Healthcare data K-Means Patient data clustering Did not consider real-time IoT environments Chakraborty et al. [36] Image datasets Affinity Propagation Image segmentation Irrelevant to IoT sensor data needs Various others [37][38] Structured datasets Various methods Small dataset analysis No benchmarking on largescale IoT datasets Table 2: Comparison of Related Works Highlighting Gaps in IoT Sensor Data Clustering Research Figure 4: Comparative Analysis of Previous Studies and This Study’s Contributions to IoT Clustering Benchmarking Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4242 Note: The variables k, n, d, and T represents clusters, number of data points, and iterations, respectively in the data. 5.2 Difference from Prior Research This study differs from prior research by focusing on the scalability and execution time of clustering algorithms when applied to large-scale IoT sensor data, rather than evaluating clustering quality through internal validation metrics. Previous studies typically analysed clustering algorithms using small-sized datasets or non-IoT datasets, often without considering the challenges posed by real-time data volumes in IoT environments. In contrast, this research systematically evaluated the performance of fourteen clustering algorithms on datasets ranging from 40,000 to 100,000 data points, emphasizing practical aspects such as clustering speed and computational feasibility. While earlier work often concentrated on theoretical assessments, this study conducted experiments using real-world IoT data collected from sensor arrays deployed in diverse environmental conditions and transmitted using the MQTT protocol. This approach provides a more application-oriented understanding of how clustering algorithms perform under realistic IoT operational scenarios. The findings reveal that algorithms like K-Means, BIRCH, DBSCAN, OPTICS, Ward-Hierarchical, Agglomerative, Bisecting K-Means, and Fuzzy CMeans offer better scalability and faster execution, making them more suitable for real-time IoT data analysis. In contrast, algorithms such as Affinity Propagation and Spectral Clustering exhibited limited scalability when handling larger datasets. Thus, this work extends the current research landscape by offering practical, real-world insights into algorithm selection for large-volume IoT data clustering tasks. 7 Conclusion and Future Scope This study conducted a comprehensive comparative analysis of fourteen clustering algorithms on a large IoT sensor dataset, addressing the critical challenge of identifying scalable and efficient clustering techniques for real-time IoT data analysis. The findings reveal that algorithms such as OPTICS, DBSCAN, K-Means, Ward-Hierarchical, Agglomerative, HDBSCAN, Gaussian Mixtures, BIRCH, Overlapping K-Means, Bisecting K-Means, and Fuzzy C-Means exhibited strong scalability, successfully clustering datasets containing up to 100,000 data points. Among them, BIRCH consistently produced more distinct and meaningful clusters, suggesting its particular suitability for large-scale IoT environments where timely and reliable pattern recognition is essential. Conversely, Affinity Propagation and Spectral Clustering were found to lack scalability, failing to cluster larger datasets effectively. This highlights a crucial insight: while some algorithms may perform well on smaller or non-IoT datasets, their performance does not necessarily translate to highvolume, high-velocity IoT contexts. Therefore, this study reinforces the necessity of carefully aligning the choice of clustering algorithm with the specific size, structure, and demands of IoT data streams. By systematically evaluating execution time and practical scalability rather than focusing solely on theoretical metrics, this research provides actionable guidance to practitioners and researchers who must manage increasingly large IoT deployments. It bridges an important gap by empirically Algorithm Time Complexity Space Complexity K - Means O(nkT) O(nk) Affinity Propagation O(n^2T) O(n^2) Mean - Shift O(n^2d) O(nd) Spectral O(n^3) O(n^2) WardHierarchical O(n^3) O(n^2) Agglomerative O(n^2 log n) O(n^2) DBSCAN O(n log n) O(n) HDBSCAN O(n log n) O(n) OPTICS O(n log n) O(n) Gaussian Mixtures O(nKT) O(nk) BIRCH O(n) O(n) Bisecting KMeans O(nk log k) O(nk) Fuzzy C - Means O(nT 2 ) O(nT) Overlapping KMeans O(nkT) O(nk) Table 5: Worst Case Time and Space Complexity of Clustering Algorithms Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4243 demonstrating how different clustering techniques behave under real-world IoT data loads, thus answering the primary research questions posed at the outset. While this study emphasizes the scalability and computational efficiency of clustering algorithms, future research should address several limitations. First, the qualitative evaluation of clustering results including the interpretability and real-world usefulness of the formed clusters remains unexplored. Future studies should incorporate domain-specific validation measures to assess clustering quality beyond time performance. Additionally, further investigation is needed into how data characteristics such as noise, the presence of outliers, feature dimensionality, and temporal variations impact algorithm performance. Exploring adaptive clustering frameworks that can dynamically adjust parameters based on incoming data patterns, and testing algorithms on streaming or continuously updating IoT data, would provide deeper insights. Expanding the dataset diversity by including more complex, multi-modal IoT data can also make the findings more generalizable. REFERENCES: [1] Reddy, Chandan K. Data clustering: algorithms and applications. Chapman and Hall/CRC, 2018. [2] Jain, Anil K., and Richard C. Dubes. Algorithms for clustering data. Prentice-Hall, Inc., 1988. [3] Floris, Alessandro, and Luigi Atzori. "Managing the quality of experience in the multimedia Internet of Things: A layered-based approach." Sensors 16.12 (2016): 2057. [4] Debauche, Olivier, et al. "Data management and internet of things: A methodological review in smart farming." Internet of Things 14 (2021): 100378. [5] Patel, Keyur K., Sunil M. Patel, and P. Scholar. "Internet of things-IOT: definition, characteristics, architecture, enabling technologies, application & future challenges." International journal of engineering science and computing 6.5 (2016). [6] Lyu, Lingjuan, et al. "Fog-empowered anomaly detection in IoT using hyperellipsoidal clustering." IEEE Internet of Things Journal 4.5 (2017): 1174-1184. [7] Chen, Feng, et al. "Data mining for the internet of things: literature review and challenges." International Journal of Distributed Sensor Networks 11.8 (2015): 431047. [8] Cui, Zhihua, et al. "Personalized recommendation system based on collaborative filtering for IoT scenarios." IEEE Transactions on Services Computing 13.4 (2020): 685-695. [9] Behera, Trupti Mayee, et al. "Residual energybased cluster-head selection in WSNs for IoT application." IEEE Internet of Things Journal 6.3 (2019): 5132-5139. [10] Tan, Pang-Ning, Michael Steinbach, and Vipin Kumar. Introduction to Data Mining. Pearson Education India, 2016. [11] Hartigan, John A., and Manchek A. Wong. "Algorithm AS 136: A k-means clustering algorithm." Journal of the royal statistical society. series c (applied statistics) 28.1 (1979): 100-108. [12] Dueck, Delbert. Affinity propagation: clustering data by passing messages. Diss. 2009. [13] Cheng, Yizong. "Mean shift, mode seeking, and clustering." IEEE transactions on pattern analysis and machine intelligence 17.8 (1995): 790-799. [14] Ng, Andrew, Michael Jordan, and Yair Weiss. "On spectral clustering: Analysis and an algorithm." Advances in neural information processing systems 14 (2001). [15] Miyamoto, Sadaaki, et al. "Ward method of hierarchical clustering for non-Euclidean similarity measures." 2015 7th International Conference of Soft Computing and Pattern Recognition (SoCPaR). IEEE, 2015. [16] Murtagh, Fionn, and Pierre Legendre. "Ward’s hierarchical agglomerative clustering method: which algorithms implement Ward’s criterion?." Journal of classification 31 (2014): 274-295. [17] Ester, Martin, et al. "A density-based algorithm for discovering clusters in large spatial databases with noise." kdd. Vol. 96. No. 34. 1996. [18] Campello, Ricardo JGB, Davoud Moulavi, and Jörg Sander. "Density-based clustering based on hierarchical density estimates." Pacific-Asia conference on knowledge discovery and data mining. Berlin, Heidelberg: Springer Berlin Heidelberg, 2013. [19] Ankerst, Mihael, et al. "OPTICS: Ordering points to identify the clustering structure." ACM Sigmod record 28.2 (1999): 49-60. [20] Andriyanov, Nikita, Alexander Tashlinsky, and Vitaly Dementiev. "Detailed clustering based on Gaussian mixture models." Intelligent Systems and Applications: Proceedings of the 2020 Journal of Theoretical and Applied Information Technology 31st May 2025. Vol.103. No.10 © Little Lion Scientific ISSN: 1992-8645 www.jatit.org E-ISSN: 1817-3195 4244 Intelligent Systems Conference (IntelliSys) Volume 2. Springer International Publishing, 2021. [21] Zhang, Tian, Raghu Ramakrishnan, and Miron Livny. "BIRCH: an efficient data clustering method for very large databases." ACM sigmod record 25.2 (1996): 103-114. [22] Patil, Ruchika, and Amreen Khan. "Bisecting Kmeans for clustering web log data." International Journal of Computer Applications 116.19 (2015). [23] Bezdek, James C., Robert Ehrlich, and William Full. "FCM: The fuzzy c-means clustering algorithm." Computers & geosciences 10.2-3 (1984): 191-203. [24] Baadel, Said, Fadi Thabtah, and Joan Lu. "Overlapping clustering: A review." 2016 SAI Computing Conference (SAI). IEEE, 2016. [25] Oyewole, Gbeminiyi John, and George Alex Thopil. "Data clustering: application and trends." Artificial intelligence review 56.7 (2023): 64396475. [26] Ikotun, Abiodun M., et al. "K-means clustering algorithms: A comprehensive review, variants analysis, and advances in the era of big data." Information Sciences 622 (2023): 178-210. [27] Basu, Sulagna, and Aritra Bandyopadhyay. "Birch Clustering Approach for Detection of Random Valued Impulse Noise." Journal of The Institution of Engineers (India): Series B (2024): 1-9. [28] Ran, Xingcheng, et al. "Comprehensive survey on hierarchical clustering algorithms and the recent developments." Artificial Intelligence Review 56.8 (2023): 8219-8264. [29] Caudillo-Cos, Camilo Alberto, et al. "Defining urban boundaries through DBSCAN and Shannon's entropy: The case of the Mexican National Urban System." Cities 149 (2024): 104969. [30] Ge, Haimiao, et al. "Affinity propagation based on structural similarity index and local outlier factor for hyperspectral image clustering." Remote Sensing 14.5 (2022): 1195. [31] Nhat, Nguyen Minh. "Applied Density-Based Clustering Techniques for Classifying High-Risk Customers: A Case Study of Commercial Banks in Vietnam." Journal of Applied Data Sciences 5.4 (2024): 1639-1653. [32] Marella, Deepika, et al. "Unveiling Network Anomalies: A Comparative Study of Real-time Log-Based Detection Approach." 2023 IEEE 20th India Council International Conference (INDICON). IEEE, 2023. [33] Ezugwu, Absalom E., et al. "A comprehensive survey of clustering algorithms: State-of-the-art machine learning applications, taxonomy, challenges, and future research prospects." Engineering Applications of Artificial Intelligence 110 (2022): 104743. [34] Yadav, Dinesh Kumar, et al. "A comparative study of various clustering algorithms using in machine learning." Advances in Electronics, Computer, Physical and Chemical Sciences. CRC Press, 2025. 458-465. [35] Sheng, Yiyang, et al. "Augmenting K-Means Clustering With Qualitative Data to Discover the Engagement Patterns of Older Adults With Multimorbidity When Using Digital Health Technologies: Proof-of-Concept Trial." Journal of Medical Internet Research 26 (2024): e46287. [36] Chakraborty, Shouvik, Kalyani Mali, and Sushmita Mitra. "Affinity Propagation in SemiSupervised Segmentation: A Biomedical Application." IEEE Transactions on Systems, Man, and Cybernetics: Systems (2024). [37] Hassan, Bryar A., et al. "From A-to-Z review of clustering validation indices." Neurocomputing 601 (2024): 128198. [38] Oyewole, Gbeminiyi John, and George Alex Thopil. "Data clustering: application and trends." Artificial intelligence review 56.7 (2023): 64396475. [39] "Welcome to Oracle Cloud Infrastructure." Oracle, 2024, https://docs.oracle.com/enus/iaas/Content/GSG/Concepts/baremetalintro.h tm. Accessed 15 October. 2024. [40] "scikit-learn: Machine Learning in Python — scikit-learn 1.4.1 Documentation." scikit-learn, n.d., https://scikit-learn.org/stable/. Accessed 7 October. 2024.