distance Questions
7
Solved
I have an array of points in unknown dimensional space, such as:
data=numpy.array(
[[ 115, 241, 314],
[ 153, 413, 144],
[ 535, 2986, 41445]])
and I would like to find the average euclidean dista...
Phosphorite asked 5/3, 2010 at 0:3
10
I'm still new to python and have been trying to get the hang of it. I've been trying to learn simple return methods but I can't seem to get the hang of it.
I have been trying to find the distance ...
5
Solved
I require a function dist( a, b ) // 0 ≤ a,b < 12 which returns the shortest (absolute ie +ve) distance ala clock arithmetic, using modulo 12.
So for example,
dist( 1, 2 )
= dist( 2, 1 )
= d...
4
I am struggling to calculate the distance between multiple sets of latitude and longitude coordinates. In, short, I have found numerous tutorials that either use math or geopy. These tutorials work...
4
Solved
I have two keys(geo zset) in redis first "DRIVERS" second "ORDERS" and members inside them.
Is it possible to calculate distance between member in DRIVERS and member inside ORDERS?
Manual https://r...
5
Solved
I intend to find a distance metric between two colours in HSV space.
Suppose that each colour element has 3 components: hue, saturation, and value. Hue is ranged between 0 to 360, saturation is r...
4
Solved
I'm looking for a library or a method using existing libraries( difflib, fuzzywuzzy, python-levenshtein) to find the closest match of a string (query) in a text (corpus)
I've developped a method b...
4
Solved
What I'm looking for is not just a plain similarity score between two texts. But a similarity score of a substring inside a string. Say:
text1 = 'cat is sleeping on the mat'.
text2 = 'The cat is ...
Saturation asked 5/1, 2018 at 16:24
12
Solved
Problem
I would like to know how to get the distance and bearing between two GPS points.
I have researched on the haversine distance. Someone told me that I could also find the bearing using the sa...
15
Solved
Given an existing point in lat/long, distance in (in KM) and bearing (in degrees converted to radians), I would like to calculate the new lat/long. This site crops up over and over again, but I jus...
Furnishings asked 28/8, 2011 at 16:56
4
Solved
I have a program in which latitude and longitude values of a location are stored in a database, which I download.
I want to get the distance between these coordinates, and my current location.
...
2
Good Day,
I have two different paths in a 2D plane. I want to compare these two paths with the Fréchet Distance.
I know some points of the trajectories, each is connected to another point with a ...
8
Solved
please shed some light on this situation
Right now i have two array having latitude and longitude of nearby places and also have the user location latiude and longiude now i want to calculate the ...
Chamfron asked 8/11, 2011 at 11:22
3
Solved
I want to find the minimum distance between two polygons with million number of vertices(not the minimum distance between their vertices). I have to find the minimum of shortest distance between ea...
Remiss asked 13/9, 2010 at 13:44
1
Solved
I'm trying to evaluate a geodesic distance matrix on the TOSCA dataset.
e.g. the following 3d mesh-
I've tried using two python implementations.
The first one is the scikit-fmm, which does not ...
Secretin asked 22/5, 2019 at 21:5
4
Solved
I have created a class "Point" and i want to calculate the shortest distance between a given point and a line ( characterized by 2 other points ), all points are known.
I tried to use this formula...
Mercorr asked 5/12, 2016 at 9:0
5
Solved
One obvious method for computing the minimum distance from a point to a 3D triangle is to project the point onto the plane of the triangle, determine the barycentric coordinates of the resulting po...
8
I was trying to use Google Distance Matrix API JSON in my project, after formatting the url, for example:
http://maps.googleapis.com/maps/api/distancematrix/json?origins=Vancouver+BC|Seattle&...
Cottager asked 22/5, 2011 at 15:37
13
Solved
A basic/common class in R is called "dist", and is a relatively efficient representation of a symmetric distance matrix. Unlike a "matrix" object, however, there does not seem to be support for man...
10
is there a easy formula to calculate this? i've been working on some math but i can only find a way to calculate the distance directed to the center of the box, not directed to the nearest point.. ...
4
I have 6 lists storing x,y,z coordinates of two sets of positions (3 lists each). I want to calculate the distance between each point in both sets. I have written my own distance function but it is...
5
Solved
I have an input of 36,742 points which means if I wanted to calculate the lower triangle of a distance matrix (using the vincenty approximation) I would need to generate 36,742*36,741*0.5 = 1,349,9...
Williamswilliamsburg asked 9/2, 2016 at 16:19
11
I'm programming a spellcheck program in Python. I have a list of valid words (the dictionary) and I need to output a list of words from this dictionary that have an edit distance of 2 from a given ...
5
Is there any R package to obtain a pairwise distance list if my input file is a distance matrix
For eg, if my input is a data.frame like this:
A1 B1 C1 D1
A1 0 0.85 0.45 0.96
B1 0 0.85 0.56
C...
Lacuna asked 11/1, 2015 at 21:6
2
Hello Community,
I'm new (as a member) to the site, so if you think it might be better to post it on http://datascience.stackexchange.com, let me know.
I am tackling a Machine Learning prob...
Undulate asked 28/6, 2016 at 12:2
1 Next >
© 2022 - 2024 — McMap. All rights reserved.