IMPLEMENTATION OF KALMAN FILTER, RECURRENT NEURAL NETWORK, AND DECISION TREE METHOD TO FORECAST HIV CASES IN EAST JAVA
Abstract
HIV (Human Immunodeficiency Virus) is a virus that infects cells in the body and weakens the human immune system, making it more susceptible to various diseases. Meanwhile, the symptoms of the disease arising from HIV itself are referred to as AIDS (Acquired Immune Deficiency Syndrome). Approximately 50% of people with AIDS in Indonesia are adolescents. Until now, HIV/AIDS has ranked second in East Java province. HIV/AIDS is classified as a dangerous disease because of the risk of death. Unfortunately, there is no treatment method or vaccine that could prevent this disease. This monitoring program to prevent the development of dangerous health cases such as HIV/AIDS is very helpful for local governments. Along with the development of information technology, the emergence rate of new HIV/AIDS cases can now be forecasted using machine learning as a monitoring tool to support. This machine learning-based monitoring program works with past data for statistical analysis. In this study, the methods used are Kalman Filter, Recurrent Neural Network, and Decision Tree. The Kalman Filter is a type of filter method that is used to predict the state of a dynamic, stochastic, linear, discrete system. A Recurrent Neural Network (RNN) is a development of a Neural Network. RNN deals with input sequence/time-series data by individual sector at each step and preserves the information it has captured at previous time steps in a hidden state. A Decision Tree is one of the classic tree-based prediction methods. The best error value (RMSE) achieved by each method is 0.0885 for the Kalman Filter, then for the Recurrent Neural Network method achieved 0.198, and the Decision Tree method successfully achieved 0.0287.
Downloads
References
N. S. Rahmi, S. Astutik, A. B. Astuti, A. R. Muhammad, U. Maisaroh, and S. Handayani, “GENERALIZED CONFIRMATORY FACTOR ANALYSIS FOR KNOWING IMPACT OF KNOWLEDGE, ATTITUDES, AND BEHAVIORAL FACTORS HIV/AIDS IN INDONESIA,” BAREKENG JURNAL ILMU MATEMATIKA DAN TERAPAN, vol. 17, no. 2, pp. 0695-0706, Jun. 2023. doi: https://doi.org/10.30598/barekengvol17iss2pp0695-0706.
T. D. Chandra and G. I. Permata, “MODELING HIV/AIDS USING SHAT MODEL,” BAREKENG JURNAL ILMU MATEMATIKA DAN TERAPAN, vol. 17, no. 2, pp. 0745–0756, Jun. 2023. doi: https://doi.org/10.30598/barekengvol17iss2pp0745-0756.
S. Davlidova, Z. Haley-Johnson, K. Nyhan, A. Farooq, S. H. Vermund, and S. Ali, “PREVALENCE OF HIV, HCV AND HBV IN CENTRAL ASIA AND THE CAUCASUS: A SYSTEMATIC REVIEW,” International Journal of Infectious Diseases, vol. 104, pp. 510–525, Mar. 2021. doi: https://doi.org/10.1016/J.IJID.2020.12.068.
R. Janamnuaysook et al., “DEMEDICALISATION OF HIV INTERVENTIONS TO END HIV IN THE ASIA-PACIFIC,” Sexual Health, vol. 18, no. 1, pp. 13–20, Feb. 2021. doi: https://doi.org/10.1071/SH20172.
R. A. I. Sadarang, “PREVALENCE AND FACTORS AFFECTING DISCRIMINATION TOWARDS PEOPLE LIVING WITH HIV/AIDS IN INDONESIA,” Journal of Preventive Medicine and Public Health, vol. 55, no. 2, pp. 205–212, Mar. 2022. doi: https://doi.org/10.3961/jpmph.21.502.
C. Kirana, R. Tosepu, and D. S. Effendy, “HIV/AIDS POSITIVE CASES BASED ON BASIC HEALTH RESEARCH DATA IN 2019, INDONESIA,” KnE Life Sciences, Sep. 2022. doi: https://doi.org/10.18502/kls.v0i0.11781.
“MODELLING THE NUMBER OF HIV CASES IN INDONESIA USING NEGATIVE BINOMIAL REGRESSION BASED ON LEAST SQUARE SPLINE ESTIMATOR,” Communications in mathematical biology and neuroscience, Jan. 2024. doi: https://doi.org/10.28919/cmbn/8582.
M. D. Kurniasari, A. D. Huruta, H. T. Tsai, and C.-W. Lee, “FORECASTING FUTURE HIV INFECTION CASES: EVIDENCE FROM INDONESIA,” Social Work in Public Health, vol. 36, no. 1, pp. 12–25, Dec. 2020. doi: https://doi.org/10.1080/19371918.2020.1851332.
R. Fitriani and A. Lutfi, “KNOWLEDGE OF HIV TRANSMISSION AND FACTORS RELATED TO THE INCIDENCE OF HIV/AIDS IN ADOLESCENTS IN INDONESIA,” Indian Journal of Forensic Medicine & Toxicology, Jan. 2021. doi: https://doi.org/10.37506/ijfmt.v15i1.13618.
D. M. S. K. Dewi, J. D. E. Sari, M. Z. Fatah, and E. Astutik, “STIGMA AND DISCRIMINATION AGAINST PEOPLE LIVING WITH HIV AND AIDS IN BANYUWANGI, EAST JAVA, INDONESIA,” Proceedings of the 4th International Symposium on Health Research (ISHR 2019), Jan. 2020. doi: https://doi.org/10.2991/ahsr.k.200215.030.
Z. M. Kusumaadhi, N. Farhanah, and M. A. U. Sofro, “RISK FACTORS FOR MORTALITY AMONG HIV/AIDS PATIENTS,” Diponegoro International Medical Journal, vol. 2, no. 1, pp. 20–19, Mar. 2021. doi: https://doi.org/10.14710/dimj.v2i1.9667.
S. G. Aribe Jr, B. D. Gerardo, and R. P. Medina, “TIME SERIES FORECASTING OF HIV/AIDS IN THE PHILIPPINES USING DEEP LEARNING: DOES COVID-19 EPIDEMIC MATTER?,” International Journal of Emerging Technology and Advanced Engineering, vol. 12, no. 9, pp. 144–157, Sep. 2022. doi: https://doi.org/10.46338/ijetae0922_15.
C. K. Mutai, P. E. McSharry, I. Ngaruye, and E. Musabanganji, “USE OF MACHINE LEARNING TECHNIQUES TO IDENTIFY HIV PREDICTORS FOR SCREENING IN SUB-SAHARAN AFRICA,” BMC Medical Research Methodology, vol. 21, no. 1, Jul. 2021. doi: https://doi.org/10.1186/s12874-021-01346-2.
T. Herlambang, A. Suryowinoto, D. Adrianto, D. Rahmalia, and H. Nurhadi, “DIVING MOTION ESTIMATION OF REMOTELY OPERATED VEHICLE USING ENSEMBLE KALMAN FILTER AND H-INFINITY”, BAREKENG: J. Math. & App., vol. 17, no. 1, pp. 0095-0100, Apr. 2023. https://doi.org/10.30598/barekengvol17iss1pp0095-0100
Muhith, T. Herlambang, D. Rahmalia, and D. F. Karya, “ESTIMATION OF PACKED RED CELLS (PRC) IN BOJONEGORO BLOOD BANK USING MODIFIED KALMAN FILTER,” Journal of Physics Conference Series, vol. 2157, no. 1, p. 012023, Jan. 2022. doi: https://doi.org/10.1088/1742-6596/2157/1/012023.
H. Hewamalage, C. Bergmeir, and K. Bandara, “RECURRENT NEURAL NETWORKS FOR TIME SERIES FORECASTING: CURRENT STATUS AND FUTURE DIRECTIONS,” International Journal of Forecasting, vol. 37, no. 1, pp. 388–427, Aug. 2020. doi: https://doi.org/10.1016/j.ijforecast.2020.06.008.
K. E. ArunKumar, D. V. Kalaga, C. S. Kumar, M. Kawaji, and T. M. Brenza, “FORECASTING OF COVID-19 USING DEEP LAYER RECURRENT NEURAL NETWORKS (RNNS) WITH GATED RECURRENT UNITS (GRUS) AND LONG SHORT-TERM MEMORY (LSTM) CELLS,” Chaos Solitons & Fractals, p. 110861, Mar. 2021. doi: https://doi.org/10.1016/j.chaos.2021.110861.
M. N. Fekri, H. Patel, K. Grolinger, and V. Sharma, “DEEP LEARNING FOR LOAD FORECASTING WITH SMART METER DATA: ONLINE ADAPTIVE RECURRENT NEURAL NETWORK,” Applied Energy, vol. 282, p. 116177, Nov. 2020. doi: https://doi.org/10.1016/j.apenergy.2020.116177.
Ahmadi, M. Nabipour, B. Mohammadi-Ivatloo, A. M. Amani, S. Rho, and Md. J. Piran, “LONG-TERM WIND POWER FORECASTING USING TREE-BASED LEARNING ALGORITHMS,” IEEE Access, vol. 8, pp. 151511–151522, Jan. 2020. doi: https://doi.org/10.1109/access.2020.3017442.
M. Bansal, A. Goyal, and A. Choudhary, “A COMPARATIVE ANALYSIS OF K-NEAREST NEIGHBOR, GENETIC, SUPPORT VECTOR MACHINE, DECISION TREE, AND LONG SHORT-TERM MEMORY ALGORITHMS IN MACHINE LEARNING,” Decision Analytics Journal, vol. 3, p. 100071, May 2022. doi: https://doi.org/10.1016/j.dajour.2022.100071.
Setiawan, F. Setivani, and T. Mahatma, “PERFORMANCE COMPARISON OF DECISION TREE AND LOGISTIC REGRESSION METHODS FOR CLASSIFICATION OF SNP GENETIC DATA,” BAREKENG JURNAL ILMU MATEMATIKA DAN TERAPAN, vol. 18, no. 1, pp. 0403-0412, Mar. 2024. doi: https://doi.org/10.30598/barekengvol18iss1pp0403-0412.
T. Herlambang, H. Nurhadi, F. Susanto, and B. Tomasouw, “COMPARISON OF H-INFINITY AND ENSEMBLE KALMAN FILTER FOR ESTIMATING MOTION OF MIDDLE FINGER”, BAREKENG: J. Math. & App., vol. 17, no. 4, pp. 2433-2442, Dec. 2023. doi: https://doi.org/10.30598/barekengvol17iss4pp2433-2442
P. Katias, I. Susanto, T. Herlambang, and M. Anshori, “UNSCENTED KALMAN FILTER AND H-INFINITY FOR TRAVEL COMPANY STOCK PRICE ESTIMATION”, PIJMath, vol. 1, no. 2, pp. 81-88, Nov. 2022. doi: https://doi.org/10.30598/pijmathvol1iss2pp81-88
M. Y. Anshori, T. Herlambang, P. Katias, F. A. Susanto, and R. R. Rasyid, “PROFITABILITY ESTIMATION OF XYZ COMPANY USING H-INFINITY AND ENSEMBLE KALMAN FILTER,” Journal of Physics Conference Series, vol. 2157, no. 1, p. 012027, Jan. 2022. doi: https://doi.org/10.1088/1742-6596/2157/1/012027.
J. Xu, Z. Xiao, Z. Lin, and M. Li, “SYSTEM BIAS CORRECTION OF SHORT-TERM HUB-HEIGHT WIND FORECASTS USING THE KALMAN FILTER,” Protection and Control of Modern Power Systems, vol. 6, no. 1, Nov. 2021. doi: https://doi.org/10.1186/s41601-021-00214-x.
W. Qin, J. Tang, C. Lu, and S. Lao, “TRAJECTORY PREDICTION BASED ON LONG SHORT-TERM MEMORY NETWORK AND KALMAN FILTER USING HURRICANES AS AN EXAMPLE,” Computational Geosciences, vol. 25, no. 3, pp. 1005–1023, Mar. 2021. doi: https://doi.org/10.1007/s10596-021-10037-2.
P. Arora, H. Kumar, and B. K. Panigrahi, “PREDICTION AND ANALYSIS OF COVID-19 POSITIVE CASES USING DEEP LEARNING MODELS: A DESCRIPTIVE CASE STUDY OF INDIA,” Chaos Solitons & Fractals, vol. 139, p. 110017, Jun. 2020. doi: https://doi.org/10.1016/j.chaos.2020.110017.
D. F. Karya, M. Y. Anshori, R. Rizqina, P. Katias, A. Muhith, and T. Herlambang, “ESTIMATION OF CRUDE OIL PRICE USING UNSCENTED KALMAN FILTER,” Journal of Physics Conference Series, vol. 1538, p. 012049, May 2020. doi: https://doi.org/10.1088/1742-6596/1538/1/012049.
S. Feng, X. Li, S. Zhang, Z. Jian, H. Duan, and Z. Wang, “A REVIEW: STATE ESTIMATION BASED ON HYBRID MODELS OF KALMAN FILTER AND NEURAL NETWORK,” Systems Science & Control Engineering, vol. 11, no. 1, Feb. 2023. doi: https://doi.org/10.1080/21642583.2023.2173682.
R. V. Vitali, R. S. McGinnis, and N. C. Perkins, “ROBUST ERROR-STATE KALMAN FILTER FOR ESTIMATING IMU ORIENTATION,” IEEE Sensors Journal, vol. 21, no. 3, pp. 3561–3569, Sep. 2020. doi: https://doi.org/10.1109/jsen.2020.3026895.
P. Dey et al., “COMPARATIVE ANALYSIS OF RECURRENT NEURAL NETWORKS IN STOCK PRICE PREDICTION FOR DIFFERENT FREQUENCY DOMAINS,” Algorithms, vol. 14, no. 8, p. 251, Aug. 2021. doi: https://doi.org/10.3390/A14080251.
K. Nti, A. F. Adekoya, and B. A. Weyori, “A COMPREHENSIVE EVALUATION OF ENSEMBLE LEARNING FOR STOCK-MARKET PREDICTION,” Journal of Big Data, vol. 7, no. 1, Mar. 2020. doi: https://doi.org/10.1186/s40537-020-00299-5.
P. K. Jena, S. M. Rahaman, P. K. D. Mohapatra, D. P. Barik, and D. S. Patra, “SURFACE WATER QUALITY ASSESSMENT BY RANDOM FOREST,” Water Practice & Technology, vol. 18, no. 1, pp. 201–214, Dec. 2022. doi: https://doi.org/10.2166/wpt.2022.156.
“PANDAS DOCUMENTATION — PANDAS 2.3.2 DOCUMENTATION.”https://pandas.pydata.org/docs/index.html
C. R. Harris et al., “ARRAY PROGRAMMING WITH NUMPY,” Nature, vol. 585, no. 7825, pp. 357–362, Sep. 2020. doi: https://doi.org/10.1038/s41586-020-2649-2.
J. D. Hunter, “MATPLOTLIB: A 2D GRAPHICS ENVIRONMENT,” Computing in Science & Engineering, vol. 9, no. 3, pp. 90–95, Jan. 2007. doi: https://doi.org/10.1109/mcse.2007.55.
M. Waskom, “SEABORN: STATISTICAL DATA VISUALIZATION,” The Journal of Open Source Software, vol. 6, no. 60, p. 3021, Apr. 2021. doi: https://doi.org/10.21105/joss.03021.
Scikit-learn Developers, “Scikit-learn: Machine Learning in Python (Version 1.7.1) Documentation,” 2025. [Online]. Available: https://scikit-learn.org/stable/index.html.
Copyright (c) 2026 Nurwijayanti Nurwijayanti, Firman Yudianto, Panca Radono, Rizky Amalia Sinulungga, Mochammad Romli Arief, Rahayu Budi Utami, Hamzah Arof

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this Journal agree to the following terms:
- Author retain copyright and grant the journal right of first publication with the work simultaneously licensed under a creative commons attribution license that allow others to share the work within an acknowledgement of the work’s authorship and initial publication of this journal.
- Authors are able to enter into separate, additional contractual arrangement for the non-exclusive distribution of the journal’s published version of the work (e.g. acknowledgement of its initial publication in this journal).
- Authors are permitted and encouraged to post their work online (e.g. in institutional repositories or on their websites) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published works.




1.gif)


