How to plot a MDS from a similarity matrix?
问题 I'm using a similarity matrix with values between 0 and 1 (1 means that the elements are equals), and I'm trying to plot a MDS with python and scikit-learn. I found multiple examples, but I'm not sure about what to give as an input to mds.fit(). For now, my data looks like that (file.csv) : ; A ; B ; C ; D ; E A ; 1 ; 0.1 ; 0.2 ; 0.5 ; 0.2 B ; 0.1 ; 1 ; 0.3 ; 1 ; 0 C ; 0.2 ; 0.3 ; 1 ; 0.8 ; 0.6 D ; 0.5 ; 1 ; 0.8 ; 1 ; 0.2 E ; 0.2 ; 0 ; 0.6 ; 0.2 ; 1 I'm currently using this code : import