Corresponding Author ORCID Identifer
Nur Syarafina Mohamed https://orcid.org/0000-0002-8572-2234
Section
(Thematic) AI-Enhanced Computing and Digital Transformation
Abstract
Conjugate gradient method (CGM) is one of the most efficient numerical methods for solving unconstrained optimization problems. It is also known as an iterative method with simple formulation. The classical CGM has always been an interest to the current researchers in improving the formulation which are categorized into three-term (TTCGM), spectral (SCGM), hybrid and scaled CGM. Although there are many variations of the CGM available, choosing the most efficient and effective one for a particular problem can be a time-consuming process. In this study, spectral Hestenes-Stiefel (sHS) CGM with the greatest NOI and central processing time per unit (CPU time) is selected as the efficient method to be applied to the real-life problems in regression analysis. A data set of rainfall precipitation in Malaysia from year 2009 until 2019 is collected for data fitting purpose. The data set is transformed into a test function also defined as objective function. The approximate functions are generated from CG, Least Square, Trendline method for the relative error purpose. The estimation data for the year 2020 can be predicted using the approximate functions. The calculation of relative error of the linear and quadratic model for each method is calculated based on the estimation data for the year 2020 and its actual data. The numerical results show that the sHS CGM is a suitable and good alternative to solve the Least Square models.
Cite This Article
Tang, H. R., Mohamed, N. S., Mohd Yusoff, N. H., & Zullpakkal, N. (2025). Conjugate Gradient Methods in Fitting Precipitation of Rainfall Data in Malaysia. Journal of Informatics and Web Engineering, 4(3), 469–482. https://doi.org/10.33093/jiwe.2025.4.3.29
Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.
Included in
Artificial Intelligence and Robotics Commons, Databases and Information Systems Commons, Other Computer Sciences Commons, Software Engineering Commons