# Computational machine learning analysis and validation for estimation of viscosity of ionic liquids versus temperature and composition

**Authors:** Yi Liu, Haoran Chen, Dong Li, Chonghao Bi, Javed Iqbal

PMC · DOI: 10.3389/fchem.2026.1770244 · Frontiers in Chemistry · 2026-03-12

## TL;DR

This paper uses machine learning to accurately predict the viscosity of ionic liquids based on temperature and composition.

## Contribution

The study introduces the NODE model as the most accurate method for predicting ionic liquid viscosity.

## Key findings

- The NODE model achieved the highest accuracy with a test R2 of 0.99721 and lowest test RMSE of 0.0031499.
- Proper data preprocessing significantly improved model performance.
- Spline Regression and TSVR showed good but less consistent results compared to NODE.

## Abstract

This study centers on predicting the viscosity of ionic liquid systems utilizing advanced regression models and a dataset comprising 8,500 entries. The input variables include categorical features (Cation and Anion) which represent the structure of ionic liquid and numerical variables (Temperature, T, and xIL). The data underwent several preprocessing steps, including Leave-One-Out encoding for categorical variables, Isolation Forest for outlier removal, and Min-Max method for normalization. Four regression models were implemented: Spline Regression (SPR), Twin Support Vector Regression (TSVR), Adaptive Lasso (ALASSO), and Neural Oblivious Decision Ensembles (NODE). Hyperparameters were optimized using the Firefly Algorithm. The NODE model indicated the best fitting amongst others, offering the highest cross-validation R2 of 0.99536 (±0.00124), training R2 of 0.99728, and test R2 of 0.99721, with the lowest test RMSE (0.0031499) and test MAE (0.0022219). The SPR model followed closely, with a cross-validation R2 of 0.96940 (±0.00303), test RMSE of 0.01393, and test MAE of 0.003869. TSVR showed moderate performance with a cross-validation R2 of 0.85577 and test RMSE of 0.01752, while ALASSO was the least effective, with a cross-validation R2 of 0.78169 and test RMSE of 0.02507. This study highlights the importance of robust preprocessing and identifies the NODE model as the most accurate and reliable tool for predicting viscosity in complex ionic liquid datasets.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC13017848/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/PMC13017848/full.md

## References

34 references — full list in the complete paper: https://tomesphere.com/paper/PMC13017848/full.md

---
Source: https://tomesphere.com/paper/PMC13017848