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

Multidimensional scaling (MDS) point order #149

Closed
asdrsdg opened this issue Mar 19, 2021 · 1 comment
Closed

Multidimensional scaling (MDS) point order #149

asdrsdg opened this issue Mar 19, 2021 · 1 comment

Comments

@asdrsdg
Copy link

asdrsdg commented Mar 19, 2021

Hi, I'm using the MDS functionality which takes as input a distance matrix and returns a projection of points with said distance matrix in, e.g., 2D.

However I can't find a mention on how is the outputted point set ordered (of MultivariateStats.classical_mds). Could you please confirm whether the ordering of the points is the same as the ordering of, e.g., columns in the distance matrix? And perhaps add it to the documentation?

It is important to know this when, e.g., you have 2D set of points with data about specific people where 70% of columns in the distance matrix are men and 30% are women. When you input this distance matrix into classical_mds, is the ordering of the output points the same as in the distance matrix? In other words, is the first 70% of points from the classical_mds output the projection of men data and the remainning 30% women data?

I tried generating some points to see whether the ordering is preserved and it seems so but having it confirmed would help!

Thanks!

@wildart
Copy link
Collaborator

wildart commented Mar 19, 2021

Yes, points in a resulting transformation are in the same order as corresponding columns/rows in a distance matrix.

@asdrsdg asdrsdg closed this as completed Mar 20, 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