Questions tagged [distance]

For question regarding distance between distributions or variables, such as Euclidean distance between points in n-space.

152 questions
1
vote
0 answers

Which distance method will account for positions of observations in arrays?

I am trying to figure out the distance method suited for my problem. I have different arrays of the same length. Each position in the array matters. Let's say ... each array is representing an image, and the value at the last position of the array…
Zin
  • 11
  • 1
1
vote
0 answers

How to generate multiple vectors given their distances

Well, the title says it all. I'm looking for an algorithm that would generate multiple random vectors with given distances between them. Any suggestions?
kembo
  • 11
  • 1
1
vote
1 answer

Minkowski distance with Missing Values

Im currently doing a subject for data science, and have the following point that im trying to understand. We are looking to calculate distance in data sets where values may not be present. Now i know that R does this by default, but we are learning…
1
vote
1 answer

Euclidean distance for more than 2 datapoints

I need to compare $n$ 3-dimensional vectors with $k$ 3-dimensional vectors using euclidean distance. Is that possible?
user53682
  • 11
  • 1
1
vote
1 answer

Euclidean distance for more than two datapoints

I have n 3-dimensional vectors. Is there a way to find distance between all using euclidean distance?
user53677
  • 11
  • 1
1
vote
1 answer

Suitability of Jaccard's distance for count vectorized features

I had an assignment in which we had to classify the cuisine and also give back the top-5 recipes based on given input. I did a count vectorization (countVectorize.transformer()) for the following data and then used Jaccard's distance to calculate…
0
votes
0 answers

question regarding scaling for k-means clustering

is it correct to say this? we need to scale every numeric variable because if we don't, a variable with a large range of variance will dominate. So, one way to judge a variable with a large range of variance is to look at if the difference of min…