DOC add links to cross decomposition examples#26934
DOC add links to cross decomposition examples#26934adrinjalali merged 7 commits intoscikit-learn:mainfrom
Conversation
|
Could you please limit this PR to |
|
Will update the PR description. Should another PR be created to address the changes for |
|
Yes, a separate PR for CCA sounds good. |
|
@adrinjalali Moved out the changes concerning #26966 addresses the linking of examples for the |
adrinjalali
left a comment
There was a problem hiding this comment.
It would make sense to keep all links to a single example in a single PR, but limit the PR to a single example, rather than splitting the PR in a way that links to the same example are in different PRs.
befd232 to
339139c
Compare
|
Note: linter's failing. This probably shouldn't happen if you enable pre-commit hooks. You also need to pull first before you work on this branch since I've pushed an update here. |
|
@punndcoder28 are you gonna be working on this? |
|
Sorry @adrinjalali missed this, will fix the linting issue |
sklearn/cross_decomposition/_pls.py
Outdated
| For a comparison between PLS Regression and :class:`~sklearn.decomposition.PCA`, see | ||
| :ref:`sphx_glr_auto_examples_cross_decomposition_plot_pcr_vs_pls.py`. |
There was a problem hiding this comment.
I think moving this to the Examples section directly bellow should fix the CI issue.
|
@punndcoder28 would you like to continue working on this PR? If you need help let us know. |
|
Apologies, the comments did not notify me. Will update the PR again |
15c37dd to
cd39b3b
Compare
| >>> Y_pred = pls2.predict(X) | ||
|
|
||
| For a comparison between PLS Regression and :class:`~sklearn.decomposition.PCA`, see | ||
| :ref:`sphx_glr_auto_examples_cross_decomposition_plot_pcr_vs_pls.py`. |
There was a problem hiding this comment.
Moved this to the example section. Is this OK @adrinjalali
Reference Issues/PRs
Adds links to
cross-decompositionexamples as mentioned in #26927What does this implement/fix? Explain your changes.
Adds links to the auto-generated examples for classes
PLSRegressionandPLSCanonical. The diff also adds link to the example comparingPLSRegressionandPCRClasses linked with examples
PLSRegressioninsklearn/cross_decomposition/_pls.pyPLSCanonicalinsklearn/cross_decomposition/_pls.py