powered by
A NIRS dataset (pre-processed absorbance) describing the class membership of forages. Spectra were recorded from 1100 to 2498 nm at 2 nm intervals.
data(forages)
A list with 4 components: Xtrain, ytrain, Xtest, ytest.
Xtrain
ytrain
Xtest
ytest
A matrix whose rows are the pre-processed NIR absorbance spectra (= log10(1 / Reflectance)).
A vector of the response variable (class membership).
For the test data:
data(forages) str(forages)
Run the code above in your browser using DataLab