Analisis Clustering Konsumsi Bahan Bakar dan Emisi CO2 Kendaraan dengan K-Means, Nearest Neighbor, dan DBScan
DOI:
https://doi.org/10.61124/sinta.v3i4.471Keywords:
clustering, DBSCAN, K-means, Nearest neighbor, PCAAbstract
Konsumsi bahan bakar dan emisi CO2 kendaraan merupakan indikator penting efisiensi energi pada sektor transportasi, sehingga pengelompokan kendaraan berdasarkan karakteristik tersebut diperlukan untuk analisis dan kebijakan. Algoritme clustering memiliki asumsi yang berbeda sehingga hasilnya dapat berbeda pada data yang sama. Penelitian ini bertujuan membandingkan kualitas dan stabilitas tiga algoritme clustering, yaitu K-means, Nearest Neighbor (NN) berbasis ambang jarak, dan DBSCAN, pada dataset FuelConsumptionCo2 yang berisi 1067 kendaraan. Empat fitur numerik non-redundan distandardisasi dan direduksi dengan Principal Component Analysis (PCA) menjadi dua komponen yang menjelaskan 96,1% varians. K-means dengan k=3 digunakan sebagai partisi acuan. Ambang jarak NN serta parameter ε dan MinPts DBSCAN dipilih untuk memaksimalkan Adjusted Rand Index (ARI) terhadap partisi tersebut. Kualitas cluster dievaluasi menggunakan Silhouette, Davies–Bouldin Index, dan Calinski–Harabasz Index, sedangkan kemiripan antarpartisi dilaporkan menggunakan ARI dan Normalized Mutual Information (NMI). Hasil menunjukkan DBSCAN mencapai Silhouette tertinggi (0,589) dengan 41 titik noise, diikuti K-means (0,573) dan NN (0,537); pada himpunan titik yang sama, K-means dan DBSCAN setara. K-means dan DBSCAN cukup stabil dengan ARI bootstrap rata-rata 0,97 sedangkan NN peka terhadap urutan data. Tiga cluster utama merepresentasikan kendaraan berkonsumsi rendah, menengah, dan tinggi. Karena data membentuk kontinum, hasil lebih tepat dibaca sebagai segmentasi.
References
I. E. Agency, “Energy Technology Perspectives 2020,” International Energy Agency, Paris, France, 2020.
I. P. on C. Change, “Transport and its infrastructure,” in Climate Change 2007: Mitigation of Climate Change, in Working Group III Contribution to the Fourth Assessment Report. , Cambridge, United Kingdom: Cambridge University Press, 2007.
A. K. Jain, M. N. Murty, and P. J. Flynn, “Data clustering: A review,” ACM Comput. Surv., vol. 31, no. 3, pp. 264–323, 1999, doi: 10.1145/331499.331504.
J. MacQueen, “Some methods for classification and analysis of multivariate observations,” in Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, 1967, pp. 281–297.
M. Ester, H.-P. Kriegel, J. Sander, and X. Xu, “A density-based algorithm for discovering clusters in large spatial databases with noise,” in Proceedings of the Second International Conference on Knowledge Discovery and Data Mining (KDD-96), 1996, pp. 226–231.
O. Arbelaitz, I. Gurrutxaga, J. Muguerza, J. M. Pérez, and I. Perona, “An extensive comparative study of cluster validity indices,” Pattern Recognit., vol. 46, no. 1, pp. 243–256, 2013, doi: 10.1016/j.patcog.2012.07.021.
Sunardi and A. N. D. Zain, “Clustering-based analysis of fuel efficiency and emissions in automotive data using PCA and K-Means,” J. Rekayasa Mesin, vol. 20, no. 2, pp. 279–288, 2025, doi: 10.32497/jrm.v20i2.6709.
T. Vaiti, L. Tišljarić, T. Erdelić, and T. Carić, “Traffic emissions clustering using OBD-II dataset based on machine learning algorithms,” Transp. Res. Procedia.
X. Du, X. Kang, Y. Gao, and X. Wang, “Driving behavior characterization and traffic emission analysis considering the vehicle trajectory,” Front. Psychol., vol. 14, 2024, doi: 10.3389/fpsyg.2023.1341611.
M. Mądziel, “Predictive methods for CO2 emissions and energy use in vehicles at intersections,” Sci. Rep., vol. 15, 2025, doi: 10.1038/s41598-025-91300-9.
F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” J. Mach. Learn. Res., vol. 12, pp. 2825–2830, 2011.
G. W. Milligan and M. C. Cooper, “A study of standardization of variables in cluster analysis,” J. Classif., vol. 5, no. 2, pp. 181–204, 1988, doi: 10.1007/BF01897163.
K. Pearson, “On lines and planes of closest fit to systems of points in space,” Philos. Mag., vol. 2, no. 11, pp. 559–572, 1901, doi: 10.1080/14786440109462720.
I. T. Jolliffe and J. Cadima, “Principal component analysis: A review and recent developments,” Philos. Trans. R. Soc. A, vol. 374, no. 2065, 2016, doi: 10.1098/rsta.2015.0202.
S. P. Lloyd, “Least squares quantization in PCM,” IEEE Trans. Inf. Theory, vol. 28, no. 2, pp. 129–137, 1982, doi: 10.1109/TIT.1982.1056489.
D. Arthur and S. Vassilvitskii, “k-means++: The advantages of careful seeding,” in Proceedings of the Eighteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2007, pp. 1027–1035.
R. L. Thorndike, “Who belongs in the family?,” Psychometrika, vol. 18, no. 4, pp. 267–276, 1953, doi: 10.1007/BF02289263.
R. Xu and D. Wunsch, “Survey of clustering algorithms,” IEEE Trans. Neural Networks, vol. 16, no. 3, pp. 645–678, 2005, doi: 10.1109/TNN.2005.845141.
E. Schubert, J. Sander, M. Ester, H.-P. Kriegel, and X. Xu, “DBSCAN revisited, revisited: Why and how you should (still) use DBSCAN,” ACM Trans. Database Syst., vol. 42, no. 3, 2017, doi: 10.1145/3068335.
P. J. Rousseeuw, “Silhouettes: A graphical aid to the interpretation and validation of cluster analysis,” J. Comput. Appl. Math., vol. 20, pp. 53–65, 1987, doi: 10.1016/0377-0427(87)90125-7.
L. Kaufman and P. J. Rousseeuw, Finding Groups in Data: An Introduction to Cluster Analysis. New York, NY, USA: Wiley, 1990.
D. L. Davies and D. W. Bouldin, “A cluster separation measure,” IEEE Trans. Pattern Anal. Mach. Intell., vol. PAMI-1, no. 2, pp. 224–227, 1979, doi: 10.1109/TPAMI.1979.4766909.
T. Caliński and J. Harabasz, “A dendrite method for cluster analysis,” Commun. Stat., vol. 3, no. 1, pp. 1–27, 1974, doi: 10.1080/03610927408827101.
L. Hubert and P. Arabie, “Comparing partitions,” J. Classif., vol. 2, no. 1, pp. 193–218, 1985, doi: 10.1007/BF01908075.
A. Strehl and J. Ghosh, “Cluster ensembles—A knowledge reuse framework for combining multiple partitions,” J. Mach. Learn. Res., vol. 3, pp. 583–617, 2002.
N. X. Vinh, J. Epps, and J. Bailey, “Information theoretic measures for clusterings comparison: Variants, properties, normalization and correction for chance,” J. Mach. Learn. Res., vol. 11, pp. 2837–2854, 2010.
D. Moulavi, P. A. Jaskowiak, R. J. G. B. Campello, A. Zimek, and J. Sander, “Density-based clustering validation,” in Proceedings of the 2014 SIAM International Conference on Data Mining, 2014, pp. 839–847.
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Akhdan Luthfi Najmudin, Mulki Indana Zulfa, Ari Fadli

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





