Deteksi Anomali Menggunakan Local Outlier Factor (LOF) pada Kerusakan Sensor Suhu Air Conditioner (AC)
DOI:
https://doi.org/10.67712/ilka.v3i3.25Keywords:
Anomaly Detection, Temperature Sensor, Air Conditioner (AC), Local Outlier Factor (LOF), Sensor Malfuncti.Abstract
The temperature sensor in an air conditioning (AC) system plays a key role in
maintaining performance and efficiency when the cooling function is activated.
However, this sensor can sometimes fail or experience problems, leading to
inaccurate temperature readings and, consequently, improper system operation.
Therefore, having an early detection mechanism is very important to identify
potential issues. This study attempts to apply the Local Outlier Factor (LOF)
algorithm to improve anomaly detection capabilities in AC temperature sensor
data. LOF is a density-based method that identifies data points with density
significantly different from their neighbors. The dataset used in this study
consists of temperature readings collected from AC sensors over a specific period.
The process includes data preprocessing, LOF score calculation, and evaluation
using metrics such as accuracy, precision, recall, and F1-score. The results show
that LOF can detect anomalies with fairly high accuracy, making it a promising
solution for automatic AC monitoring systems, allowing faulty sensors to be
detected without the need for manual inspection.
Downloads
References
Ali, M. (1985). Penelitian kependidikan: Prosedur dan strategi. Bandung: Angkasa.
Arikunto, S. (2002). Prosedur penelitian: Suatu pendekatan praktek. Jakarta: Rineka Cipta.
Applied Intelligence (2025). Multi-block Local Outlier Factor anomaly detection of complex industrial
systems
Airlangga, G. (2024). Advanced Machine Learning Techniques for Seismic Anomaly Detection in Indonesia:
A Comparative Study of LOF, Isolation Forest, and One-Class SVM. Jurnal Lebesgue
Bogdan, R., & Taylor, S. J. (1975). Introduction to qualitative research methods: A phenomenological
approach to the social sciences. New York: Wiley.
Chaabouni, A., et al. (2025). Outlier Ensemble Based on Isolation Forest: The CBOEA Approach.
Foundations of Computing and Decision Sciences,
Gregorius Airlangga, “Unsupervised Machine Learning for Seismic Anomaly Detection: Local Outlier
Factor Algorithm to Indonesian Earthquake Data”, Jurnal Lebesgue, 2023.
Hamdi, A., et al. (2025). Multi-block Local Outlier Factor anomaly detection of complex industrial systems.
Holly, S., et al. (2024). Cooling systems anomaly detection: methods & algorithms.
Hu, R., Luc, Chen, & Wang, Y. (2025). An Efficient Outlier Detection Algorithm for Data Streaming
Jurj, D. I., Czumbil, L., Bârgăuan, B., Ceclan, A., Polycarpou, A., & Micu, D. D. (2021). Custom outlier
detection for electrical energy consumption data applied in case of demand response in block of
buildings.
Johannesen, N. J., Kolhe, M. L., & Goodwin, M. (2022). Evaluating Anomaly Detection Algorithms
through different Grid scenarios using k-Nearest Neighbor, iforest and Local Outlier Factor.
Khan, M., et al. (2025). Anomaly-Free and Open-Source Dataset for Thermal Modeling.
Liu, Y., et al. (2024). Unsupervised anomaly detection in building energy systems with ensemble learning.
Li, P., Zhai, G., & Qu, Z. (2024). Outlier anomaly assessment method based on the attention-enhanced LOF
algorithm
Moleong, L. J. (2000). Metodologi penelitian kualitatif. Bandung: Remaja Rosdakarya.
Mutmainah, M., & Yustanti, W. (2024). Studi Komparasi Local Outlier Factor (LOF) dan Isolation Forest
(IF) pada Analisis Anomali Kinerja Dosen. Journal of Informatics and Computer Science
Patton, M. Q. (1980). Qualitative evaluation methods. Beverly Hills, CA: Sage Publications.
Sun, Z., & Wang, S. (2023). Graph embedding-based anomaly localization for HVAC system. Journal of
Building Engineering.
Szydlo, T. (2022). Online Anomaly Detection Based On Reservoir Sampling and LOF for IoT devices.
Yong He, Lin Zhang, Peng Li, Feng Zhu, “Outlier detection algorithm based on k-nearest
neighbors-local outlier factor”, SAGE Journals, 2022.
Wei, Z., & Wang, F. (2022). Detecting anomaly data for IoT sensor networks. Scientific Programming,
2022.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Jurnal Ilmu Komputer Aceh

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
This journal is an open access journal that provides direct, barrier-free national access to the full text of all published articles without any cost to readers or their institutions. Readers are entitled to read, download, copy, distribute, print, search, or link to the full text of all articles in the ILKA Journal. This journal provides open access to its content on the principle that making research freely available to the public supports greater global knowledge exchange.
