Questions tagged [multi-dimensional-scaling]

84 questions
0
votes
1 answer

How to carry out multidimensional scaling on 12-nations data set reported by Wish (1971)

I currently self-study multidimensional scaling. Amongst others, I study Borg & Groenen (2005): Modern multidimensional scaling : theory and applications. On page 10, they present a real-life data set reported by Wish (1971). Wish (1971) asked 18…
DomB
  • 217
  • 1
  • 4
  • 14
0
votes
1 answer

Add categories in MDS plot

I) PROBLEM Let’s say I have a matrix like this with distances (in kilometers) between the homes of different people. | | Person 1 | Person 2 | Person 3 | |----------|----------|----------|----------| | Person 1 | | | …
ag_1812
  • 158
  • 2
  • 10
0
votes
1 answer

Keep indices in a scatter plot of jaccard distance matrix

I have a disstance matrix and I wanted to plot it as 2D scatter plot. I have found a way through sklearn.manifold: mds = MDS(n_components=2, dissimilarity='precomputed') X_r =…
Néstor
  • 23
  • 3
0
votes
1 answer

Bring multiple 2d arrays [][] on same length

i have a huge Problem when dealing with jagged arrays [][]. I wrote a program that interacts with lots of CSV-files. It will read them and then compare them. Now i have a problem if Array A has the dimension of 10 Rows and 10 Columns but Array B…
0
votes
1 answer

axis break in plot metaMDS

I have an abundance table of fungal species from 16 different samples (xylem tree tissue) belonging to three healthy classes. I want to visualize the similarity of these samples according to the health class. I have run metaMDS (vegan package) and…
Nanuk
  • 11
  • 1
0
votes
1 answer

High-scale signal processing in R

I have high-dimensional data, for brain signals, that I would like to explore using R. Since I am a data scientist I really do not work with Matlab, but R and Python. Unfortunately, the team I am working with is using Matlab to record the signals.…
Aman A.
  • 31
  • 4
0
votes
2 answers

Multidimensional scaling to data in python

I have the following code to apply the multidimensional scaling to sample of data called parkinsonData: iterations=4 count=0 while(count
0
votes
1 answer

Manually build SIMPER contrast matrix from dataframe R

I am using the simper function from the vegan package. Briefly, simper compares a a set of groups and calculates what variables are contributing most to their dissimilarity, and also by how much, in a column named cusum that gives the cumulative…
J.Con
  • 4,101
  • 4
  • 36
  • 64
0
votes
1 answer

Multidimensional scaling in R (done manually)

How to do multidimensional scaling by iterative majorization in R manually? Does anyone have an idea how to code Guttman`s transform?
AGMG
  • 83
  • 6
0
votes
1 answer

Multi Dimensional Scaling

I'm trying to apply MDS to a distance matrix based on disagreements (namely it is the "voting" dataset in the "HSAUR" package.) I'm trying to reduce it to 2 dimensions and plot without the cmdscale() function, but can't get the same result when I…
Macky
  • 3
  • 2
0
votes
2 answers

Relation between Centering matrix and multidimensional scaling

I try to understand the steps of multidimensional scaling, and the the method is based on the centering matrix, I do not understand what's his exact role
sam Black
  • 33
  • 2
  • 10
0
votes
1 answer

Plotly in Shiny Problems

I am having a few problems with my Shiny which uses plotly to present the Multidimensional Scaling results.. Below is my code. An answer to any of my questions would be great, thanks in…
0
votes
1 answer

How can I normalize data to have same average sum of square?

In a lot of articles in my field, this sentence has been repeated: " The 2 matrices has been normalized to have the same average sum-of-squares (computed across all subjects and all voxels for each modality)". Suppose that we have two matrices that…
0
votes
1 answer

How to make a multidimensional Hashtable

I have this data and I need to make an object out of it so I can easily read/write to this object. I tried to make a dictionary and fill it with hashtables but it is very hard to maintain and I don't even know how to modify the data inside the…
medo ampir
  • 1,850
  • 7
  • 33
  • 57
0
votes
0 answers

RandomForest proximity between training and test

Using randomForest, I want to create a low-level projection of the instance proximities, as produced by MDSPlot(). However, I not only want the training proximities, but proximities between all the instances (i.e. training and test). How can I do…