GoreLab / waves

R package for Vis-NIR spectral analysis
https://gorelab.github.io/waves/
Other
6 stars 6 forks source link

Add ability to predict from model object in environment #24

Open jmh579 opened 11 months ago

jmh579 commented 11 months ago

Currently, the predict_spectra() function loads an existing model from an .Rds file each time it is run. Update the function to work with pre-loaded model objects so that a model can be loaded once and used to predict multiple times without required the slow file loading process each time.