I have a matrix of distances between cities and I want to use [Multidimensional scaling] (MDS) to calculate the locations of the cities. What MDS algorithm is useful for this? Is it available in python?

  • 1
    $\begingroup$ Yes it is available in python. See from sklearn.manifold import MDS. Also this may help you out. $\endgroup$ – keepAlive Nov 19 '17 at 23:15
  • 2
    $\begingroup$ This is a venerable problem dating back to the 70s. The SAS/STAT literature on MDS discusses this in some detail. Forget that it's from a canned software package, it still has relevance for python solutions. $\endgroup$ – Mike Hunter Nov 19 '17 at 23:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.