Leveraging Grid Search in Tuning Ensemble Models to Predict Boiling Points of Alkanes

Authors

DOI:

https://doi.org/10.32350/sir.102.04

Keywords:

alkanes, boiling points, machine learning, random forest, XGBoost

Abstract

Predicting the Normal Boiling Points (NBPs) of alkanes is a fundamental problem in physical organic chemistry and chemical engineering. Two-stage GridSearchCV workflow was used to tune Random Forest (RF) and eXtreme Gradient Boosting (XGBoost) regressors in order to predict the NBPs of alkanes containing up to ten carbon atoms. Each alkane was encoded as a unique ten-digit numerical sequence. In Stage I, broad hyperparameter ranges were explored to identify regions of optimal model performance. In Stage II, a refined grid was constructed around the Stage I optima to pinpoint the best hyperparameter combinations with greater precision. Both models were evaluated on held-out test data using Mean Squared Error (MSE) and R² metrics. After two-stage tuning, XGBoost showed substantial improvement with R²=0.987 and an MSE=12.002. While, the RF regressor showed a modest improvement with R²=0.975 and an MSE=22.538 over Stage I baselines. SHapley Additive exPlanations (SHAP) analysis was subsequently applied to quantify the contribution of individual structural features to each model's predictions. Positional features corresponding to later carbon atoms were identified. The results demonstrated that systematic two-stage hyperparameter optimization via GridSearchCV significantly enhanced predictive accuracy and interpretability in chemical property prediction tasks

Downloads

Download data is not yet available.
0

References

1. Wiener H. Structural determination of paraffin boiling points. J Am Chem Soc. 1947;69(1):17–20. https://doi.org/10.1021/ja01193a005

2. Wessel MD, Jurs PC. Prediction of normal boiling points of hydrocarbons from molecular structure. J Chem Inf Comput Sci. 1995;35(1):68–76. https://doi.org/10.1021/ci00023a010

3. Katritzky AR, Lobanov VS, Karelson M. QSPR: The correlation and quantitative prediction of chemical and physical properties from structure. Chem Soc Rev. 1995;24(4):279–287. https://doi.org/10. 1039/CS9952400279

4. Hosoya H. Topological index. A newly proposed quantity characterizing the topological nature of structural isomers of saturated hydrocarbons. Bull Chem Soc Jpn. 1971;44(9):2332–2339. https://doi.org/10.1246/bcsj.44.2332

5. Gutman I. Selected properties of the Schultz molecular topological index. J Chem Inf Comput Sci. 1994;34(5):1087–1089. https://doi.org/ 10.1021/ci00021a009

6. Schultz HP. Topological organic chemistry. 1. Graph theory and topological indices of alkanes. J Chem Inf Comput Sci. 1989;29(3):227–228. https://doi.org/10.1021/ci00063a012

7. Cherqaoui D, Villemin D, Mesbah A, Cense JM, Kvasnicka V. Use of a neural network to determine the normal boiling points of acyclic ethers, peroxides, acetals and their sulfur analogues. J Chem Soc Faraday Trans. 1994;90(14):2015–2019. https://doi.org/10.1039 /FT9949002015

8. Goll ES, Jurs PC. Prediction of the normal boiling points of organic compounds from molecular structures with a computational neural network model. J Chem Inf Comput Sci. 1999;39(6):974–983. https://doi.org/10.1021/ci990071l

Goll and Jurs present one of the earliest systematic benchmarks of neural network models for predicting normal boiling points of structurally diverse organic compounds. Using descriptors derived from molecular topology and geometry, and combining multilinear regression with genetic-algorithm-selected descriptors and neural networks, they achieve a root-mean-square error of 11.72 K on a test set of 91 compounds. This work establishes a quantitative performance baseline against which the ensemble models of the present study can be compared, and it highlights the trajectory from single-architecture neural networks toward the more flexible, regularized tree-based ensembles employed here.

9. Espinosa G, Yaffe D, Cohen Y, Arenas A, Giralt F. Neural network based quantitative structural property relations (QSPRs) for predicting boiling points of aliphatic hydrocarbons. J Chem Inf Comput Sci. 2000;40(3):859–879. https://doi.org/10.1021/ci000442u

10. Espinosa G, Arenas A, Giralt F. Prediction of boiling points of organic compounds from molecular descriptors by using backpropagation neural network. In: Carbó-Dorca R, Gironés X, Mezey PG, eds. Fundamentals of Molecular Similarity. Kluwer Academic/Plenum Publishers; 2001:1–10. https://doi.org/10.1007/978-1-4757-3273-3_1

11. Liu B, Karimi Nouroddin M. Application of artificial intelligent approach to predict the normal boiling point of refrigerants. Int J Chem Eng. 2023;2023:e6809569. https://doi.org/10.1155/2023/6809569

12. Qu C, Kearsley AJ, Schneider BI, Keyrouz W, Allison TC. Graph convolutional neural network applied to the prediction of normal boiling point. J Mol Graph Model. 2022;112:e108149. https://doi.org/ 10.1016/j.jmgm.2022.108149

13. Deng S, Su W, Zhao L. A neural network for predicting normal boiling point of pure refrigerants using molecular groups and a topological index. Int J Refrig. 2016;63:63–71. https://doi.org/10.1016/ j.ijrefrig.2015.10.025

14. Nizami AR, Ali SF, Afzal MZ, Inc M. Novel descriptors for the prediction of molecular properties. Open Chem. 2025;23(1):e20250194. https://doi.org/10.1515/chem-2025-0194

This paper by the present article’s corresponding author introduces a family of novel graph-theoretic molecular descriptors derived from weighted distance and degree matrices of molecular graphs. The descriptors are evaluated for their ability to predict boiling points and other physicochemical properties of alkanes, and they are shown to achieve competitive or superior correlation compared with established topological indices. The work provides the theoretical and descriptive foundation for the structural features used in the present study, making it the primary methodological predecessor to the machine learning modelling reported here.

15. Breiman L. Random forests. Mach Learn. 2001;45(1):5–32. https://doi.org/10.1023/A:1010933404324

16. Friedman JH. Greedy function approximation: A gradient boosting machine. Ann Stat. 2001;29(5):1189–1232. https://doi.org/10.1214/ aos/1013203451

17. Chen T, Guestrin C. XGBoost: A scalable tree boosting system. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. Association for Computing Machinery; 2016:785–794. https://doi.org/10.1145/2939672.2939785

18. Svetnik V, Liaw A, Tong C, Culberson JC, Sheridan RP, Feuston BP. Random forest: A classification and regression tool for compound classification and QSAR modeling. J Chem Inf Comput Sci. 2003;43(6):1947–1958. https://doi.org/10.1021/ci034160g

19. Pedregosa F, Varoquaux G, Gramfort A, et al. Scikit-learn: Machine learning in Python. J Mach Learn Res. 2011;12:2825–2830.

20. Lundberg SM, Erion GG, Lee SI. Consistent individualized feature attribution for tree ensembles. arXiv. Preprint posted February 12, 2018. arXiv:1802.03888. https://doi.org/10.48550/arXiv.1802.03888

21. Lundberg SM, Lee SI. A unified approach to interpreting model predictions. In: Advances in Neural Information Processing Systems 30. 2017:4765–4774.

22. Chaudhury S, Shelke N, Rashid ZM, Sau K. Effect of grid search and hyper parameter tuned pipeline with various classifiers and PCA for breast cancer detection. Curr Signal Transduct Ther. 2022;17(3):e150722206811. https://doi.org/10.2174/1574362417666220715105527

This paper evaluates the combined effect of PCA-based dimensionality reduction and GridSearchCV hyperparameter tuning across multiple classifiers for breast cancer detection. The authors demonstrate consistent and statistically significant performance gains attributable specifically to the grid-search step, isolating its contribution from feature engineering effects. This finding corroborates the methodological choice in the present study of using GridSearchCV as the primary optimisation tool, and it extends the evidence base for grid-search-driven tuning to high-dimensional biomedical datasets with class-imbalance challenges.

23. Alshammari T. Using artificial neural networks with GridSearchCV for predicting indoor temperature in a smart home. Eng Technol Appl Sci Res. 2024;14(2):13437–13443. https://doi.org/10.48084/etasr.7008

This study demonstrates the effectiveness of GridSearchCV in optimising artificial neural network hyperparameters for regression tasks in smart building systems. By systematically searching across network architecture and training parameters, the author achieved significantly lower prediction errors for indoor temperature than baseline models. The work is directly relevant to the present article as a practical application of the same two-stage grid-search strategy applied here to ensemble regressors, and it underscores the domain-agnostic utility of GridSearchCV beyond classification contexts.

24. Chen CH, Tanaka K, Kotera M, Funatsu K. Comparison and improvement of the predictability and interpretability with ensemble learning models in QSPR applications. J Cheminform. 2020;12:e19. https://doi.org/10.1186/s13321-020-0417-9

25. Bounaceur R, Paes F, Privat R, Jaubert JN. AI-powered prediction of critical properties and boiling points: A hybrid ensemble learning and QSPR approach. J Cheminform. 2025;17:e132. https://doi.org/10.1186/ s13321-025-01062-9

Bounaceur et al. introduce a hybrid framework that integrates QSPR descriptors with stacked ensemble learning to predict normal boiling points and critical thermodynamic properties across chemically diverse datasets. The study systematically benchmarks gradient boosting, Random Forest, and blended meta-learners, demonstrating that ensemble stacking with optimised hyperparameters outperforms single-model and classical QSPR approaches. Its findings are closely aligned with the goals of the present article, providing contemporary evidence that structured hyperparameter optimisation of tree-based ensembles represents the current state of the art in computational thermophysical property prediction.

26. Mukwembi S, Nyabadza F. A new model for predicting boiling points of alkanes. Sci Rep. 2021;11:e24261. https://doi.org/10.1038/s41598-021-03541-z

Downloads

Published

2025-06-25

How to Cite

1.
Nizami AR, Ali SF, Afzal MZ. Leveraging Grid Search in Tuning Ensemble Models to Predict Boiling Points of Alkanes. Sci Inquiry Rev [Internet]. 2025 Jun. 25 [cited 2026 Oct. 16];10(2):70-91. Available from: https://journals.umt.edu.pk/index.php/SIR/article/view/8390

Issue

Section

Mathematics

Similar Articles

1 2 3 > >> 

You may also start an advanced similarity search for this article.