# Lavender hydrosol analysis using UV spectroscopy data and partial least squares regression

**Authors:** Sára Preiner, Bálint Levente Tarcsay, Dóra Pethő, Norbert Miskolczi

PMC · DOI: 10.1016/j.mex.2025.103304 · MethodsX · 2025-04-05

## TL;DR

This study uses UV spectroscopy and machine learning to estimate the composition of lavender hydrosol, a byproduct of essential oil production.

## Contribution

A PLS regression model is developed to predict hydrosol composition from UV–Vis spectra with high accuracy.

## Key findings

- UV–Vis spectra combined with PLS regression can accurately predict hydrosol composition changes.
- The PLS model achieved an R2 score above 0.95 during cross-validation.
- GC–MS confirmed the composition of extracted lavender essential oil components.

## Abstract

The aim of our work was to estimate the composition of hydrosol produced as a byproduct of lavender steam distillation using UV–Vis spectrophotometry in the 200–600 nm wavelength range through a machine learning algorithm. The dissolved components of lavender essential oil (EO) from lavender hydrosol samples were extracted via liquid-liquid extraction, using three different solvents (pentane, heptane and diethyl ether). The UV–Vis absorbance spectra of the extracts were recorded and the composition analyzed using GC–MS. The composition data obtained allowed for the calculation of changes within the quantities of different EO components in the samples.

The partial least squares regression technique (PLS) was utilized to establish a connection between changes in the composition of the hydrosol and the changes in the UV–Vis spectra. After optimization the established PLS model showed an R2 score above 0.95 for the prediction of hydrosol composition changes during cross-validation. The model can thus be utilized as a soft sensor to infer extracted mass of EO components and characterize the composition of hydrosol during the process directly from UV–Vis spectra.•Investigation of lavender water and extract using UV–Vis spectrophotometry•GC–MS analysis of extracts•PLS model development for composition estimation based on spectra

Investigation of lavender water and extract using UV–Vis spectrophotometry

GC–MS analysis of extracts

PLS model development for composition estimation based on spectra

Image, graphical abstract

## Linked entities

- **Chemicals:** pentane (PubChem CID 8003), heptane (PubChem CID 8900), diethyl ether (PubChem CID 3283)

## Full-text entities

- **Chemicals:** pentane (MESH:C033353), EO (MESH:D009822), diethyl ether (MESH:D004986), heptane (MESH:D006536), water (MESH:D014867), hydrosol (-)

## Full text

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

## Figures

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

## References

14 references — full list in the complete paper: https://tomesphere.com/paper/PMC12008665/full.md

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