Comparative Analysis of ANN, 1D-CNN, and LSTM for Multi-Label Action Prediction in IoT-Based Hydroponic Control Systems
DOI:
https://doi.org/10.57152/malcom.v6i2.2581Keywords:
Adaptive Control, 1D-CNN, IoT Hydroponics, LSTM, Multi-Label Actuator PredictionAbstract
Hydroponic cultivation requires precise and adaptive fertility control to maintain optimal plant growth. Conventional rule-based systems operate reactively and often fail to capture the multivariate and temporal dynamics of sensor data. Unlike previous studies that primarily focus on single-parameter forecasting, this study reformulates hydroponic automation as a multi-label actuator prediction problem, aiming to replicate and generalize rule-based control mechanisms using data-driven learning. A comparative analysis of Artificial Neural Network (ANN), one-dimensional Convolutional Neural Network (1D-CNN), and Long Short-Term Memory (LSTM) models was conducted to simultaneously predict six actuator states in an IoT-based hydroponic system. The dataset consists of 1,152 real multivariate time-series samples collected sequentially at 5-minute intervals, comprising six sensor features and six binary actuator labels derived from agronomic standards. Preprocessing includes Gaussian jitter-based augmentation, Z-score normalization, and sliding-window modeling (window size = 5). Data were split chronologically into 80% for training and 20% for testing, with 10% for validation. Results show that LSTM achieved the highest performance (accuracy up to 0.98; F1-score up to 0.95), demonstrating superior temporal modeling capability. Threshold optimization improved minority-actuator detection, enabling reliable, adaptive hydroponic control.
Downloads
References
B. M. Noxolo and T. P. Kanosvamhira, “Assessing the viability of hydroponics for low?income farmers in South Africa’s urban agriculture sector: An urban political ecology perspective,” Urban Agriculture & Regional Food Systems, vol. 11, no. 1, Jan. 2026, doi: 10.1002/uar2.70036.
R. S. Velazquez-Gonzalez, A. L. Garcia-Garcia, E. Ventura-Zapata, J. D. O. Barceinas-Sanchez, and J. C. Sosa-Savedra, “A Review on Hydroponics and the Technologies Associated for Medium-and Small-Scale Operations,” May 01, 2022, MDPI. doi: 10.3390/agriculture12050646.
G. I. Okolotu, I. D.F., M. Umunna, and E. C.S, “Application Of The Hydroponic System For Soilless Cultivation Of Vegetable Plants In A Controlled Environment,” vol. 13, pp. 1–22, Nov. 2025, doi: 10.5281/zenodo.17063932.
E. Torres, T. Sayco, C. Marvin, J. Fabula, W. Mateo, and C. G. Almerol, “Development of Small-scale Integrated Hydroponics Animal Waste Bioreactor (AWB) for Romaine Lettuce (Lactuca sativa L. var. longofolia) Production,” Pertanika J. Sci. Technol., vol. 32, pp. 1003–1022, Apr. 2024, doi: 10.47836/pjst.32.3.02.
Kailashkumar B., Priyadharshini K., and Logapriya M., “Hydroponic Cultivation: Factors Affecting Its Success and Efficacy,” International Journal of Environment and Climate Change, vol. 13, no. 10, pp. 2403–2410, Sep. 2023, doi: 10.9734/ijecc/2023/v13i102905.
Jake s, “The Importance of Water Temperature, pH, EC, and Aeration in Hydroponics,” https://greenspirit-hydroponics.com/blogs/news/the-importance-of-water-temperature-ph-ec-and-aeration-in-hydroponics?srsltid=AfmBOoqtNvKHnwA43ZZS8W42uqJF37-wdU5aiDLlTrp3cjIswt5EWtLD.
H. Singh, B. Dunn, and M. Payton, “Hydroponic pH Modifiers affect Plant Growth and Nutrient Content in Leafy Greens,” Journal of Horticultural Research, vol. 27, pp. 31–36, Jun. 2019, doi: 10.2478/johr-2019-0004.
P. Sharma, A. K. Singh, A. Raushan, Shubham, and S. Kaushal, “Influence of Artificial Lighting on Plant Growth in Hydroponic Environments,” J. Sci. Res. Rep., vol. 31, no. 5, pp. 116–125, Apr. 2025, doi: 10.9734/jsrr/2025/v31i53009.
S. Munda et al., “Influence of growing media and nutrient levels on growth and yield of lettuce (Lactuca sativa L.) in hydroponics,” vol. 60, pp. 185–190, Jul. 2025, doi: 10.31830/2454-1761.2025.CR-1033.
S. Nxawe, P. Ndakidemi, and C. Laubscher, “Possible effects of regulating hydroponic water temperature on plant growth, accumulation of nutrients and other metabolites,” Afr. J. Biotechnol., vol. 9, pp. 9128–9134, Jan. 2011.
R. Widyani, D. Iftitah, and M. Nilamcaya, “The Effect of Mosses on the Hydraulic Media of Vegetable Plants in Cirebon, West Java, Indonesia,” 2021. doi: 10.5772/intechopen.100000.
O. Sutarman, “Dasar Ilmu Penyakit Tanaman,” 2017.
T. Sangeetha and E. Periyathambi, “Automatic nutrient estimator: distributing nutrient solution in hydroponic plants based on plant growth,” PeerJ Comput. Sci., vol. 10, p. e1871, Feb. 2024, doi: 10.7717/peerj-cs.1871.
T. Hariono and M. C. Putra, “Data Acquisition for Monitoring IoT-Based Hydroponic Automation System Using ESP8266,” NEWTON: Networking and Information Technology, vol. 1, no. 1, pp. 1–7, Jun. 2021, doi: 10.32764/newton.v1i1.1534.
M. A. V. Kamalnath, G. Tejaswini, N. Sudarshan, S. E. Basha, and E. V. Kumar, “Hydroponic Automation With IOT and Real-Time Data-Logging For Optimized Crop Growth,” 2025, pp. 2370–2381. doi: 10.2991/978-94-6463-858-5_198.
M. Abul-Soud, M. S. A. Emam, and S. Mohammed, “Smart Hydroponic Greenhouse (Sensing, Monitoring and Control) Prototype Based on Arduino and IOT,” Int. J. Plant Soil Sci., 2021, [Online]. Available: https://api.semanticscholar.org/CorpusID:234875946
N. H. Patil, S. Patil, A. Uttekar, and A. R. Suryawanshi, “Monitoring of Hydroponics System using IoT Technology,” 2020. [Online]. Available: https://api.semanticscholar.org/CorpusID:235350106
I. Saraswati et al., “Prototype system for turbidity and TDS measurement of refill drinking water using Arduino microcontroller,” Teknika: Jurnal Sains dan Teknologi, vol. 21, no. 1, p. 41, Jun. 2025, doi: 10.62870/tjst.v21i1.30486.
Riyan, I. T. Kurniawan, M. I. Fauzan, and T. D. Hendrawati, “The Effect of UV Light in Accelerating IoT-Based Hydroponic Plant Growth,” Engineering Proceedings, vol. 107, no. 1, 2025, doi: 10.3390/engproc2025107029.
T. Demir and ?. Çiçek, “A Low-Cost and Reliable IoT-Based NFT Hydroponics System Using ESP32 and MING Stack,” Engineering Proceedings, vol. 122, no. 1, 2026, doi: 10.3390/engproc2026122003.
C. Arif, Y. A. Purwanto, H. Suhardiyanto, and Y. Chadirin, “Application of Artificial Neural Network (ANN) for Estimating Temperature of Circulated and Day-Night Cooled Nutrient Solution on Hydroponics System for Tomato,” Jurnal Keteknikan Pertanian, vol. 24, pp. 115–120, Feb. 2010, doi: 10.19028/jtep.24.2.115-120.
L. Cheng Xue and A. Mohd Noor, “Smart Aquaponic System Using Fuzzy Logic And Convolutional Neural Network (CNN),” Quantum Journal of Engineering, Science and Technology, vol. 6, pp. 84–99, Feb. 2025, doi: 10.55197/qjoest.v6i1.199.
A. Rathor, S. Choudhury, A. Sharma, P. Nautiyal, and G. Shah, “A Novel Deep Convolutional Neural Network for Efficient Classification of Lettuce Diseases,” Procedia Comput. Sci., vol. 258, pp. 755–764, Feb. 2025, doi: 10.1016/j.procs.2025.04.308.
A. P. Ramadhan and Yulhendri, “Sentiment Analysis of Pinterest Application User Reviews Using ANN, CNN, and RNN Methods,” JITSI?: Jurnal Ilmiah Teknologi Sistem Informasi, vol. 6, no. 3, pp. 227–237, Sep. 2025, doi: 10.62527/jitsi.6.3.460.
P. Khandelwal, J. Konar, and B. Brahma, “Training RNN and it’s Variants Using Sliding Window Technique,” in 2020 IEEE International Students’ Conference on Electrical,Electronics and Computer Science (SCEECS), Feb. 2020, pp. 1–5. doi: 10.1109/SCEECS48394.2020.93.
J. I. Prajapati and R. Das, “Sliding Window-Based Randomized K-Fold Dynamic ANN for Next-Day Stock Trend Forecasting,” Computation, vol. 13, no. 6, 2025, doi: 10.3390/computation13060141.
M. Waqas et al., “Predicting electrical conductivity with neural networks: A comparative study of ANN, RNN, CNN, and LSTM models,” Environmental Health Engineering and Management, vol. 12, Feb. 2025, doi: 10.34172/EHEM.1472.
Md. A. Awal, A. S. Pio, M. J. Mim, P. K. P. Partha, Md. A. Al Kafi, and S. Farha, “A smart IoT-based hydroponics system for small-scale household in Bangladesh,” Smart Agricultural Technology, vol. 12, p. 101163, 2025, doi: https://doi.org/10.1016/j.atech.2025.101163.
J. W. Lee, T. Moon, and J. E. Son, “Development of growth estimation algorithms for hydroponic bell peppers using recurrent neural networks,” Horticulturae, vol. 7, no. 9, Sep. 2021, doi: 10.3390/horticulturae7090284.
Engr. Shahzada Fahad, “Hydroponic System using ESP32, pH Sensor, EC, DS18B20, & A02YYUW Sensor,” https://www.electroniclinic.com/hydroponic-system-using-esp32-ph-sensor-ec-ds18b20-a02yyuw-sensor/.
Y. Yusoff, Z. Osman, and Z. Suhaimi, “Water Head Information Distribution Technique Using Yfs201 In The Waterfall Area,” Feb. 2023.
F. Gustiar, M. Munandar, M. Ammar, and Y. Yakup, “Potential Utilization of Catfish Wastewater, Livestock Manure and Waste of Fish as Media and Nutrition for Organic Hydroponic,” AGRITROPICA?: Journal of Agricultural Sciences, vol. 5, pp. 62–75, Nov. 2022, doi: 10.31186/j.agritropica.5.2.62-75.
A. Fernández, S. García, M. Galar, R. Prati, B. Krawczyk, and F. Herrera, Learning from Imbalanced Data Sets. 2018. doi: 10.1007/978-3-319-98074-4.
S. Iwana Brian Kenji AND Uchida, “An empirical survey of data augmentation for time series classification with neural networks,” PLoS One, vol. 16, no. 7, pp. 1–32, Feb. 2021, doi: 10.1371/journal.pone.0254841.
P. Thakur, M. Malhotra, and R. M. Bhagat, “Implementation of an Automated Hydroponic System using ANN: A Case Study on Spinach,” in 2023 International Conference on Communication, Security and Artificial Intelligence (ICCSAI), Nov. 2023, pp. 341–346. doi: 10.1109/ICCSAI59793.2023.10421504.
P. Arsi, T. Astuti, D. Rahmawati, and P. Subarkah, “Implementasi Sliding Window Algotihm pada Prediksi Kurs berbasis Neural Network,” DoubleClick: Journal of Computer and Information Technology, vol. 6, p. 51, Feb. 2022, doi: 10.25273/doubleclick.v6i1.13496.
R. Al Kiramy, I. Permana, A. Marsal, M. R. Munzir, and M. Megawati, “Perbandingan Performa Algoritma RNN dan LSTM dalam Prediksi Jumlah Jamaah Umrah pada PT. Hajar Aswad,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 4, no. 4, pp. 1224–1234, Jul. 2024, doi: 10.57152/malcom.v4i4.1373.
Z. A. Munawar, G. P. Insany, and I. L. Kharisma, “Application of Artificial Neural Network in Estimating Harvest Time of Lettuce and Spinach Plants in Nutrient Film Technique Hydroponic System,” Jurnal Teknologi Informatika dan Komputer, vol. 12, no. 1, pp. 201–210, Jan. 2026, doi: 10.37012/jtik.v12i1.3261.
E. Ben Baruch et al., “Asymmetric Loss For Multi-Label Classification,” CoRR, vol. abs/2009.14119, 2020, [Online]. Available: https://arxiv.org/abs/2009.14119
M. A. V. Kamalnath, G. Tejaswini, N. Sudarshan, S. E. Basha, and E. V. Kumar, “Hydroponic Automation With IOT and Real-Time Data-Logging For Optimized Crop Growth,” 2025, pp. 2370–2381. doi: 10.2991/978-94-6463-858-5_198.
A. Rahmawati, W. Sulandari, S. Subanti, and Y. Yudhanto, “Penerapan Metode Reccurent Neural Network dengan Pendekatan Long Short-Term Memory (LSTM) untuk Meramalkan Harga Saham Hybe Corporation The Application of Recurrent Neural Network Method with the Long Short-Term Memory (LSTM) Approach to Forecast Hybe Corporation’s Stock Price,” Jurnal Bumigora Information Technology (BITe), vol. 5, no. 1, pp. 65–76, 2023, doi: 10.30812/bite/v5i1.2973.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Reza Octaviany, Suhendro Yusuf Irianto

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Copyright © by Author; Published by Institut Riset dan Publikasi Indonesia (IRPI)
This Indonesian Journal of Machine Learning and Computer Science is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

















