-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Comments
@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. |
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 |
Implentation:
stats::cmdscale
The text was updated successfully, but these errors were encountered: