If your #spectroscopy dataset is small, deterministic data subdivision into training and test sets may be the way to go 🔬
The SPXY algorithm is an extension of the Kennard-Stone method that selects training samples to maximize coverage of both spectra (X) and response variable (Y) at the same time.
Here's a primer, with a #Python implementation for #NIR spectroscopy.








