Skip to content

Instantly share code, notes, and snippets.

@monogenea
Created October 7, 2019 19:00
Show Gist options
  • Save monogenea/eefc0b3dde40515400953f1ed869128a to your computer and use it in GitHub Desktop.
Save monogenea/eefc0b3dde40515400953f1ed869128a to your computer and use it in GitHub Desktop.
# Compile models and compare performance
models <- resamples(list("PLS-DA" = mod1, "PCA-DA" = mod2, "RF" = mod3))
bwplot(models, metric = "Accuracy")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment