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

Purpose of Procrustes Analysis #83

Closed
JoshuaHess12 opened this issue Jan 23, 2020 · 2 comments
Closed

Purpose of Procrustes Analysis #83

JoshuaHess12 opened this issue Jan 23, 2020 · 2 comments
Labels

Comments

@JoshuaHess12
Copy link

Hi there,

I am using PHATE on data sets with much success, and I am looking to understand the purpose of the procrustes analysis between the classical MDS embedding and the metric MDS embedding in the embed_mds function. This is not necessarily an issue, but I couldn't find any documentation in the paper "Visualizing structure and transitions in high-dimensional biological data" on the matter.

Thank you!
Josh

@scottgigante
Copy link
Collaborator

scottgigante commented Jan 23, 2020

Hi @JoshuaHess12 ,

This was a recent addition as a result of the switch from using the sklearn SMACOF implementation of MDS to using a stochastic gradient descent implementation which was done after publication. SGD is faster, but it sometimes produces results that are rotated by 90 or 180 degrees, depending on random seed. To produce a more stable output, I rotate the output to match the classic MDS initialisation using Procrustes.

@JoshuaHess12
Copy link
Author

Hi @scottgigante ,

Great - that answered my question. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants