Skip to main content

A package to claculate various distances given 2 points as input

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.3.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

interspace-0.0.3-py3-none-any.whl (14.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page