METHOMIKA: Jurnal Manajemen Informatika & Komputerisasi Akuntansi
Vol. 10 No. 2 (2026): METHOMIKA: Jurnal Manajemen Informatika & Komputersisasi Akuntansi

Comparative Analysis of Long Short-Term Memory and Random Forest for Soil Temperature Prediction in Greenhouse Microclimate

Muhammad Asyril Ar Rosyad (Sekolah Tinggi Meteorologi Klimatologi dan Geofisika)
Marzuki Sinambela (Sekolah Tinggi Meteorologi Klimatologi dan Geofisika)
Agustina Rachmawardani (Sekolah Tinggi Meteorologi Klimatologi dan Geofisika)
Fadhli Luthfiansyah (Sekolah Tinggi Meteorologi Klimatologi dan Geofisika)



Article Info

Publish Date
31 Oct 2026

Abstract

Soil temperature prediction is an important aspect of greenhouse microclimate management as it affects plant growth and resource efficiency. This study aims to compare the performance of Random Forest (RF) and Long Short-Term Memory (LSTM) algorithms in predicting soil temperature one hour ahead in a greenhouse environment. The dataset was collected from observations conducted from March 23 to June 3, 2026, with a recording interval of 1 minute, including air temperature, air humidity, soil temperature, soil moisture, and light intensity parameters. The data prepossessing stages included data cleaning, missing value interpolation, outlier detection using the Interquartile Range (IQR) method, target variable construction using time shifting, and feature engineering. This study employed four model scenarios: RF with soil moisture, RF without soil moisture, LSTM with soil moisture, and LSTM without soil moisture. Model performance was evaluated using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Coefficient of Determination (R²). The results showed that all models achieved good performance with R² values above 0.95. The best performance was achieved by the LSTM model without soil moisture, with MAE of 0.3287, RMSE of 0.5881, and R² of 0.9662. These findings indicate that the LSTM model is more effective in capturing the temporal patterns of soil temperature compared to Random Forest. In addition, the soil moisture parameter was found to have a low contribution to prediction accuracy.

Copyrights © 2026






Journal Info

Abbrev

methomika

Publisher

Subject

Computer Science & IT Economics, Econometrics & Finance

Description

Sistem Informasi Sistem Informasi Manajemen Sistem Informasi Akuntansi Manajemen Basis Data Pengembangan Aplikasi Web dan Mobile Sistem Pendukung Keputusan Desain Grafis dan Multimedia Audit Sistem Informasi Topik-topik lain yang Relevan dengan bidang ilmu Manajemen Informatika Topik-topik lain yang ...