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

Support for metric MDS #757

Open
m-muecke opened this issue Jan 31, 2024 · 2 comments
Open

Support for metric MDS #757

m-muecke opened this issue Jan 31, 2024 · 2 comments
Labels
Type: New PipeOp Issue suggests a new PipeOp

Comments

@m-muecke
Copy link
Member

m-muecke commented Jan 31, 2024

Implentation: stats::cmdscale

@mb706 mb706 added the Type: New PipeOp Issue suggests a new PipeOp label Apr 21, 2024
@mb706
Copy link
Collaborator

mb706 commented Jul 16, 2024

@m-muecke do you know if there is a way to "predict" for new data, i.e. do the same transformation for new points that was done to the training data? This should happen independently of predict data size, i.e. when "predicting" for a dataset, the result should be the same as the rbind() of each row in that dataset predicted independently.

@m-muecke
Copy link
Member Author

m-muecke commented Jul 30, 2024

I believe there are only efficient solutions when euclidean distances are used, but then the metric MDS is basically equivalent to the PCA which is already implemented.

References:

tidymodels use the implementation of the dimRed package, which is only implemented for euclidean distance: https://github.com/gdkrmr/dimRed/blob/master/R/mds.R#L88 and sklearn doesn't seem to have a predict for MDS: https://scikit-learn.org/stable/modules/generated/sklearn.manifold.MDS.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New PipeOp Issue suggests a new PipeOp
Projects
None yet
Development

No branches or pull requests

2 participants