-
Notifications
You must be signed in to change notification settings - Fork 876
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
Adding PCA correlation circle graph #544
Adding PCA correlation circle graph #544
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just had a look at the good, which looks great so far. Here are just a few minor issues:
Hello @Gabriel-Azevedo-Ferreira! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2019-05-29 02:19:11 UTC |
I think the failing unit tests could be because a new scikit-learn version was just recently uploaded to conda ... I will change the travis tests (here) to test on 0.20 and then carefully go through the 0.21 changes later |
There were some odd things with the unit tests regarding nosetests; I think it's easier to get this all to work here instead of having to rebase after I do it in master. I switched to pytest now which doesn't seem to have issues with regard to the latest changes in sklearn for some of the things nosetests complained about. |
Sorry for the mess, it was a bit of a coincidence that the new scikit-learn version was just pushed to conda when you created this PR so that this caused problems with some of the unit tests. In any case, I made some minor adjustments to the documentation, and it should be all ok for merge now when the unit tests pass. Thanks a lot for the contribution! |
Thanks! No problem and thank you for the discussions! |
Description
Adding a function to enable the plotting of PCA correlation circles, similarly to what is done by factomineR in R.
Related issues or pull requests
Implements the feature proposed in #543 (#543)
Pull Request Checklist
./docs/sources/CHANGELOG.md
file (if applicable)./mlxtend/*/tests
directories (if applicable)mlxtend/docs/sources/
(if applicable)nosetests ./mlxtend -sv
and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g.,nosetests ./mlxtend/classifier/tests/test_stacking_cv_classifier.py -sv
)flake8 ./mlxtend