Table 6 Summary of run time and memory usage for machine learning models used in this study.

From: Machine learning prediction of methane, nitrogen, and natural gas mixture viscosities under normal and harsh conditions

ML

Run time (s)

Memory usage, (MB)

Methane viscosity

Nitrogen viscosity

Gas mixture viscosity

Methane viscosity

Nitrogen viscosity

Gas mixture viscosity

Decision trees (DT)

2.03

2.02

2.02

0.098

0.088

0.004

Random forest (RF)

2.36

2.52

2.51

0.367

0.238

0.027

K-nearest neighbors (KNN)

2.02

2.02

2.02

0.004

0.003

0.01

XGBoost (extreme gradient boosting)

2.11

2.17

2.15

0.008

0.006

0.02

NuSVR

2.28

2.26

2.18

0.242

0.089

0.0625