
# NOT RUN {
## Example of predicting samples
library(specmine.datasets)
data(cachexia)
training.result = train_models_performance(cachexia, "pls",
"Muscle.loss", "cv")
result = predict_samples(training.result$final.models$pls, cachexia$data)
# }
Run the code above in your browser using DataLab