Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Sep 11;15(1):32411.
doi: 10.1038/s41598-025-17642-6.

Raloxifene solubility in supercritical CO2 and correlation of drug solubility via hybrid machine learning and gradient based optimization

Affiliations

Raloxifene solubility in supercritical CO2 and correlation of drug solubility via hybrid machine learning and gradient based optimization

Hadil Faris Alotaibi et al. Sci Rep. .

Abstract

One of the problems with new medications is their poor water solubility that is possible to be addressed by using supercritical method. This study aims to predict the solubility of raloxifene and the density of supercritical CO2 using temperature and pressure as inputs to analyze the supercritical processing for production of drug nanoparticles. Three regression models, Extra Trees (ET), Random Forest (RF), and Gradient Boosting (GB) were proposed and optimized using Gradient-based optimization to predict density and solubility of drug. In predicting the density of supercritical CO₂, GB attained an R² value of 0.986, reflecting an excellent agreement between its estimates and the true measurements. The model exhibited an RMSE of 23.20, indicating high accuracy, with a maximum error of 33.06. Regarding the solubility of raloxifene, the ET model yielded the highest R-squared score of 0.949, indicating a good fit to the data. The model exhibited an RMSE of 0.41, with a maximum error of 0.90. Comparatively, the RF and GB models obtained slightly lower precision, for the solubility of raloxifene. The RF model exhibited an RMSE of 0.55, while the GB model had an RMSE of 0.72. The optimized models were found to be reliable in predicting solubility and density within the supercritical processing field.

Keywords: Drug computation; Extra trees; Gradient boosting; Machine learning; Process modeling; Random forest; Solubility.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Visualization of the drug dataset using Pair Plot evaluation.
Fig. 2
Fig. 2
Gradient-based optimization of hyperparameters workflow.
Fig. 3
Fig. 3
Actual and calculated Solubility of Raloxifene using three models.
Fig. 4
Fig. 4
Actual and calculated CO2 Density using three models.
Fig. 5
Fig. 5
Individual Effect of P on Solubility of Raloxifene.
Fig. 6
Fig. 6
Individual Effect of T on Solubility of Raloxifene.
Fig. 7
Fig. 7
Individual Effect of P on CO2 Density.
Fig. 8
Fig. 8
Individual Effect of T on CO2 Density.
Fig. 9
Fig. 9
3D surface for Solubility of Raloxifene. The figure is drawn by Python v3.8 which can be freely downloaded from the link: https://www.python.org.
Fig. 10
Fig. 10
3D surface for CO2 Density. The figure is drawn by Python v3.8 which can be freely downloaded from the link: https://www.python.org.
Fig. 11
Fig. 11
Feature importance for Density prediction.
Fig. 12
Fig. 12
Feature importance for Solubility prediction.

References

    1. Liao, H. et al. Ultrasound-assisted continuous crystallization of metastable polymorphic pharmaceutical in a slug-flow tubular crystallizer. Ultrason. Sonochem.100, 106627 (2023). - PMC - PubMed
    1. Pu, S. & Hadinoto, K. Habit modification in pharmaceutical crystallization: A review. Chem. Eng. Res. Des.201, 45–66 (2024).
    1. Guillou, P., Marre, S. & Erriguible, A. Thermodynamic assessment of two-step nucleation occurrence in supercritical fluid. J. Supercrit. Fluids. 211, 106292 (2024).
    1. Kankala, R. K. et al. Supercritical fluid technology: an emphasis on drug delivery and related biomedical applications. Adv. Healthc. Mater.6 (16), 1700433 (2017). - PMC - PubMed
    1. AravindKumar, P. et al. New solubility model to correlate solubility of anticancer drugs in supercritical carbon dioxide and evaluation with Kruskal–Wallis test. Fluid. Phase. Equilibria. 582, 114099 (2024).

LinkOut - more resources