Code examples for the book chapter "Supervised, Semi-Supervised and Unsupervised Learning for Hyperspectral Regression".