Questions tagged [multi-dimensional-scaling]
84 questions
0
votes
1 answer
Imagebutton scaling and 9Patch
I have a relative layout and image buttons that abut each other.
It all fits nicely on a 1280x800 tablet screen.
On a 1024x600 screen it does not fit.
So, I thought that 9Patch might be the solution, but it does not seem to work.
What's wrong and…
user611089
0
votes
1 answer
Convert pandas pivot table to array in array as variable in multidimensional scaling code
I have a pandas dataframe that looks like this
Code to reproduce -
import pandas as pd
df = pd.DataFrame([['sample_1', 'sample_2', 0.2],
['sample_1', 'sample_3', 0.5],
['sample_2', 'sample_4', 0.8]],
…

nerd
- 473
- 5
- 15
0
votes
0 answers
Is there a way to resize a matrix (list of lists) using itertools?
I'm modifying some code that generates 2D barcodes to provide "zoom" functionality.
Each barcode is represented by a matrix (list of lists) in Python.
Zoom is provided by repeating each matrix element and row by a number of times equal to an integer…

ErikV
- 1
0
votes
1 answer
Seemingly empty Array after push
I'm just trying to search through a two dimensional array of strings.
The results in found are correct, but the row isn't pushed (correctly) into the array.
The browser shows me this:
function filterItems(arr, query) {
return…

confusedandtired
- 139
- 1
- 12
0
votes
0 answers
How can I reduce the stress score from a Multidimensional Scaling (MDS) analysis?
I have a precomputed distance matrix that I have run through Sklearn's MDS algorithm. All data are needed. The matrix has been scaled (0-1). I am looking to convert the analysis into a plot so the max n_components = 3.
I've tried to modify…

prfsullivan
- 1
- 2
0
votes
1 answer
Problem turning 2D array into 1D how to convert matrix of vertexes into matrix of xy values
I want to turn a 2D array like this [ [x, y], [a, b], [z, e] ] into [x, y, a, b, z, e]
I have tried multiple thing with indexes and for loops but most of them don't work and the one that did was very buggy and sketchy how do I do that i c++ i am a…

Farouk
- 261
- 1
- 10
0
votes
1 answer
Scaling of parameters for a large order of magnitude 1e-26 to 1e-15?
I have parameters and they range in different order of magnitude.
T1 = 1e-26;
T2 = 1e-19;
T3 = 1e-18;
T4 = 1e-17;
T5 = 1e-16;
They are calculated at some conditions e.g temperature.
The scaling should be done in a way that the
values…

Robert12
- 7
- 5
0
votes
1 answer
Custom Dimensions within Custom Dimensions in Google Analytics
Within the unpaid version of Google Analytics, you are limited to 20 custom dimensions per property/view. As a workaround, I am currently attempting to create a custom dimension table within the existing custom dimensions in Google Analytics. In…
0
votes
1 answer
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…

Metalman
- 73
- 9
0
votes
0 answers
Why do my fitted values from ordisurf not match actual variable values?
Here is my matrix for the NMDS ordination (PA.mm.5p.rel).
structure(c(0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0,…

ljh2001
- 391
- 3
- 17
0
votes
1 answer
Multidimensional Scale in R - data
I would like to have a multidimensional scaling plot according to the following table (this is just a shorter form of the whole table).
I have been trying to do it in R (am quite new here...) but now. I am not even sure about that this type of data…

bebe
- 1
0
votes
1 answer
unexpected result from cmdscale in R
I'm afraid I'm missing something obvious, but I just can't see what I am doing wrong.
If anyone can help me find it, please, it would be great.
Here's the full, symmetrical distance matrix I'm starting from:
d2 <- structure(list(P1 = c(0, 0.1, 0.3,…

user6376297
- 575
- 2
- 15
0
votes
0 answers
What is a memory efficient way to resize a large 3D array?
I have data from a sensor that addresses each event for each (x,y) coordinate pair for each given timestamp.
An example of the data from the sensor would be something like:
timestamp = [ 1, 1, 2, 3]
x = [ 25, 25, 60, 30]
y = [128, 120, 50, 50]
The…

J Alex
- 25
- 7
0
votes
1 answer
Control Scaling of Canvas When dragged out of chart limit
When I dragged the datapoint out of chart's ticks limit like from max x and y axis value, the canvas increase the limits too fast. How can I control this scaling speed? So that it increase with specific number defined in the config of chart.
Here is…

Taimoor Ali
- 39
- 5
0
votes
1 answer
Looking for analysis that clusters like SIMPROF, but allows for many observations per category
I need to run a clustering or similarity analysis on some biological data and I am looking for an output like the one SIMPROF gives. Aka a dendrogram or hierarchical cluster.
However, I have 3200 observations/rows per group. SIMPROF, see example…

Moritz Schmid
- 395
- 6
- 16