-
Notifications
You must be signed in to change notification settings - Fork 86
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
Correspondence Analysis Implementation? #110
Comments
Not in plans, as I have no knowledge of it. Is this some kind of variation of PCA? If you have some something written, your PR is always welcome. |
It is related to PCA, it allows to apply PCA to categorical data by using contingency tables. I'll try to work on it! |
Any news on that front? |
I'm working on this at the moment and will submit a pull request when I find the time to finish it off, here is a barebones function in the meantime. It follows the computational algorithm outlined in appendix A of Greenacre (2017) and implemented in the R function I've checked that the standard coordinates of this function are equal to those produced in
References Greenacre, Michael. 2017. Correspondence Analysis in Practice, Third Edition. CRC Press. |
Lookin forward to seeing the commit! Until then, i will be experimenting with the function here. Thanks! |
I developed a package (ExpFamilyPCA.jl) with Trevor Hastie and Mykel Kochenderfer that implements exponential family PCA which is similar to correspondence analysis when used with Poisson loss. The Poisson EPCA objective is the generalized KL divergence, making it appropriate for compressing frequency data, data in the form of percentages, and discrete distribution data (i.e., probability profiles)--similar to correspondence analysis. |
Are there any plans on implementing Correspondence Analysis and Multiple Correspondence Analysis?
The text was updated successfully, but these errors were encountered: