Skip to content

N-ihad/Multidimensional-Scaling-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Multidimensional Scaling Algorithm

Multidimensional Scaling Algorithm (metric)

Methods description

MDS(disMatr, desiredDim) function takes 2 parameters and outputs objects coordinates:
disMatr — initial matrix of dissimilarities
desiredDim — desired number of dimensions for objects coordinates

stress(oldMatr, newMatr) function takes 2 parameters and outputs stress value:
oldMatr — initial matrix of dissimilarities
newMatr — observed dissimilarity matrix

calcDissimilarities(matr) function takes 1 parameter and outputs dissimalirity matrix:
matr — initial data matrix

plot2D(X, labels) function takes 2 parameters and plots objects in 2D:
X — objects coordinates
labels — labels assigned to objects

plot1D(X) function takes 1 parameter and plots objects in 1D:
X — objects coordinates

About

Multidimensional Scaling algorithm (metric)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages