-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Error in compare cross decomposition method #8307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
eyalkr1 opened this issue
Feb 7, 2017
· 2 comments
· Fixed by #8578 · May be fixed by ja9harper/scikit-learn#1
Closed
Error in compare cross decomposition method #8307
eyalkr1 opened this issue
Feb 7, 2017
· 2 comments
· Fixed by #8578 · May be fixed by ja9harper/scikit-learn#1
Labels
Comments
I think you got this right, PR welcome! While you are at it, you can use proper reST in the docstring of the example in order to have a better formatting (i.e. bullet points) for this:
|
I will work on this. |
This was referenced Mar 6, 2017
raghavrv
pushed a commit
that referenced
this issue
Mar 12, 2017
Closed
herilalaina
pushed a commit
to herilalaina/scikit-learn
that referenced
this issue
Mar 26, 2017
…earn#8307) (scikit-learn#8578) * changed plsca to cca * corrected variable plsca in line 56-57
massich
pushed a commit
to massich/scikit-learn
that referenced
this issue
Apr 26, 2017
…earn#8307) (scikit-learn#8578) * changed plsca to cca * corrected variable plsca in line 56-57
Sundrique
pushed a commit
to Sundrique/scikit-learn
that referenced
this issue
Jun 14, 2017
…earn#8307) (scikit-learn#8578) * changed plsca to cca * corrected variable plsca in line 56-57
NelleV
pushed a commit
to NelleV/scikit-learn
that referenced
this issue
Aug 11, 2017
…earn#8307) (scikit-learn#8578) * changed plsca to cca * corrected variable plsca in line 56-57
paulha
pushed a commit
to paulha/scikit-learn
that referenced
this issue
Aug 19, 2017
…earn#8307) (scikit-learn#8578) * changed plsca to cca * corrected variable plsca in line 56-57
maskani-moh
pushed a commit
to maskani-moh/scikit-learn
that referenced
this issue
Nov 15, 2017
…earn#8307) (scikit-learn#8578) * changed plsca to cca * corrected variable plsca in line 56-57
jwjohnson314
pushed a commit
to jwjohnson314/scikit-learn
that referenced
this issue
Dec 18, 2017
…earn#8307) (scikit-learn#8578) * changed plsca to cca * corrected variable plsca in line 56-57
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On this page
http://scikit-learn.org/stable/auto_examples/cross_decomposition/plot_compare_cross_decomposition.html#sphx-glr-auto-examples-cross-decomposition-plot-compare-cross-decomposition-py
The last lines has (copy-paste) error:
cca = CCA(n_components=2)
cca.fit(X_train, Y_train)
X_train_r, Y_train_r = plsca.transform(X_train, Y_train)
X_test_r, Y_test_r = plsca.transform(X_test, Y_test)
It should be cca.transform instead of plsca.transform
The text was updated successfully, but these errors were encountered: