Skip to content
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

Proposal - unified API for ordinations? #95

Open
kescobo opened this issue May 23, 2019 · 2 comments
Open

Proposal - unified API for ordinations? #95

kescobo opened this issue May 23, 2019 · 2 comments
Milestone

Comments

@kescobo
Copy link
Contributor

kescobo commented May 23, 2019

I'm not sure if this is possible / correct, but it would be nice if there were a unified API for ordinations like MDS and PCA to extract the scaled axes and other components. This arose in JuliaPlots/StatsPlots.jl#229 and JuliaPlots/StatsPlots.jl#230.

Having something like AbstractOrdination would make it possible to have a single plot recipe if there were functions for accessing similar components, esp. the coordinates along each axis and the % variation explained.

@wildart
Copy link
Collaborator

wildart commented May 25, 2019

So, you want a supertype for MDS and PCA, plus some functional interface for accessing eigenvalues?

@kescobo
Copy link
Contributor Author

kescobo commented May 25, 2019

Yes, that's what I was thinking - not sure if things like LDA or any others could be included here (I'm not really familiar with the others, I've just seen some of them plotted in similar ways).

For MDS and PCA at least, the components are there. projection() is already shared and can be used to extract the actual values to plot, if they shared a function to get the eigenvalues, that would be sufficient (though having a supertype would be cleaner I think).

@wildart wildart mentioned this issue Jun 4, 2019
5 tasks
@wildart wildart added this to the v1.0.0 milestone Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants