Interspace gives us different type distances between two vectors.
Project description
Interspace
Gives us different distance between two vectors which are given in as an input.
Installation
pip install interspace
Usage
import interspace
# Calculate Euclidean Distace
interspace.euclidean([1,2,3],[4,5,6])
##Output: 5.196152422706632
# Calculate all possible Distances
interspace.distance([1,2,3],[7,8,9])
##Output: {'Euclidean': 10.392304845413264}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
interspace-0.0.5.tar.gz
(1.7 kB
view hashes)
Built Distribution
interspace-0.0.5-py3-none-any.whl
(14.3 kB
view hashes)
Close
Hashes for interspace-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f18a782e161464620ae39fdade219eaba364943b3ad4c7583b7541b14375115 |
|
MD5 | 5b8190b08e3999eecca19c06c505e51a |
|
BLAKE2b-256 | c5a2238e755c157b2a7ee4e3192d157653027f6a033891d9fee3972e935b3fbb |