Laporkan Masalah

Integrasi Ensemble Outlier Detection dan Outlier Correction pada Model Gradient Boosting untuk Peramalan Harga Komoditas Global

Yahadi Rasyid Albaqi, Dr. Agus Sihabuddin, S. Si., M.Kom.

2026 | Tesis | S2 Ilmu Komputer

koreksi outlier pada data time series komoditas yang volatil merupakan langkah penting untuk mencegah distorsi informasi. Outlier yang muncul akibat fluktuasi pasar atau kesalahan sistem dapat mengganggu proses pembelajaran model dan menurunkan akurasi peramalan. Penanganan outlier menjadi menantang karena keterbatasan sensitivitas metode deteksi tunggal serta ketiadaan label ground truth pada dataset crude oil price, natural gas price, dan gold price.

Penelitian ini mengusulkan kerangka kerja peramalan berbasis ensemble outlier detection yang mengombinasikan metode statistik (Median Absolute Deviation, Interquartile Range), machine learning (Isolation Forest, Local Outlier Factor), dan deep learning (Autoencoder). Melalui mekanisme majority voting, data ditetapkan sebagai outlier jika mayoritas metode memberikan keputusan yang sama. Selanjutnya, data diperbaiki menggunakan Simple Moving Average (SMA) dan K-Nearest Neighbor (KNN) untuk menjaga stabilitas pola sebelum tahap prediksi.

Evaluasi menggunakan algoritma XGBoost dan LightGBM membuktikan bahwa integrasi outlier detection dan outlier koreksi lebih baik mengoptimalkan fungsi partisi fitur. Model LightGBM berhasil mencapai tingkat Mean Absolute Percentage Error (MAPE) yang robust sebesar 0.8494% pada Crude Oil, 3.1358% pada Natural Gas, dan 10.0995% pada Gold Price. Capaian ini melampaui performa pemodelan univariat konvensional sekaligus memvalidasi peningkatan performa model forecasting dibandingkan penggunaan data asli tanpa penanganan outlier.

Outlier correction in volatile commodity time series data is an important step to prevent information distortion. Outlieres that arise due to market fluctuations or system errors can disrupt the model learning process and reduce forecasting accuracy. Outlier handling becomes challenging due to the limitations of single detection methods as well as the absence of ground truth labels in real-world data.

This research proposes a forecasting framework based on ensemble outlier detection that combines statistical methods (Median Absolute Deviation, Interquartile Range), machine learning (Isolation Forest, Local Outlier Factor), and deep learning (Autoencoder). Through a majority voting mechanism, data is determined as an outlier if the majority of the methods provide the same decision. Furthermore, the data is corrected using Simple Moving Average (SMA) and K-Nearest Neighbor (KNN) to maintain pattern stability before the prediction stage.

Evaluations using the XGBoost and LightGBM algorithms demonstrate that integrating outlier detection and outlier correction better optimizes the feature partitioning function.The LightGBM model successfully achieved robust Mean Absolute Percentage Error (MAPE) rates of 0.8494% for Crude Oil, 3.1358% for Natural Gas, and 10.0995% for Gold Price. These achievements outperform conventional univariate modeling and simultaneously validate the performance enhancement of forecasting models compared to the use of raw data without outlier handling.

Kata Kunci : time-series, forecasting, ensemble outlier detection, outlier correction, majority voting, XGBoost, LightGBM

  1. S2-2026-552122-abstract.pdf  
  2. S2-2026-552122-bibliography.pdf  
  3. S2-2026-552122-tableofcontent.pdf  
  4. S2-2026-552122-title.pdf