tidymodels / parsnip

A tidy unified interface to models
https://parsnip.tidymodels.org
Other
586 stars 88 forks source link

Add oPLS model #1006

Closed AlbanOtt2 closed 10 months ago

AlbanOtt2 commented 11 months ago

Hi parsnip dev,

Thank you for your efforts, we are moving from our many models implementation to tidymodels.

Implement oPLS as an option of PLS

NB: here oPLS means orthogonal PLS In chemometry and other fields like omics analysis, one may prefer to use oPLS rather than standard PLS.

This leads to improved diagnostics, as well as more easily interpreted visualization. However, these changes only improve the interpretability, not the predictivity, of the PLS models[^1]

[^1]: Trygg, J. and Wold, S. (2002), Orthogonal projections to latent structures (O-PLS). J. Chemometrics, 16: 119-128. https://doi.org/10.1002/cem.695

simonpcouch commented 10 months ago

Thanks for the issue, @AlbanOtt2!

This sounds like a great idea for a community-contributed parsnip extension package that adds an additional engine for the pls model. We've written docs on how to do so here, and the plsmod package shows an example of how to do that for another engine.

simonpcouch commented 10 months ago

I'm going to go ahead and close. Thank you for bringing this up! This issue will continue to be indexed in search, so if we see an uptick in thumbs-ups on this issue in the future we can revisit.

github-actions[bot] commented 10 months ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.