TY - JOUR AU - Morales-Rojas, Eli AU - Ortiz, Edwin Adolfo Díaz AU - La Cruz, José Emmanuel Cruz de AU - Machaca, Wilson Antony Mamani AU - Ramírez, Ítalo Maldonado AU - Yana-Mamani, Victor AU - Taboada, Gustavo PY - 2025 TI - Prediction of Physicochemical Parameters in a Rainwater Harvesting and Treatment System Modeled Using the Yahtun Algorithm in Native Communities of Northern Peru JF - OnLine Journal of Biological Sciences VL - 25 IS - 1 DO - 10.3844/ojbsci.2025.288.294 UR - https://thescipub.com/abstract/ojbsci.2025.288.294 AB - The inhabitants of the native communities of northern Peru do not have drinking water systems, generating serious health impacts. In this sense, rainwater harvesting systems have become an alternative for these areas. Therefore, the objective of this study was to predict the physicochemical parameters in a rainwater collection and treatment system, modeled by means of a novel “Yahtun” algorithm. The physicochemical quality data for the modeling were obtained from the PROLLUVIA project, executed during 2019 and 2020. With respect to the goodness of fit of the proposed model, the Mean Absolute Error (MAE), Mean Squared Error (MSE) and Mean Absolute Percentage Error (MAPE) metrics were used. For the increase of the data obtained, as well as for the generation of a regression model, data imputation techniques and an ensemble model were used for data prediction. The high-level programming language Python was used for the analysis and modeling. The results indicate that the Yahtun model is efficient for the prediction of water quality in the context of native communities, according to the MAE metrics was 84.16%, MSE was 86.21% and ASM was 83.63%. In this sense, it is important to apply data imputation techniques in order to estimate future predictions in the context of native communities.