Skip to main content

This package helps to find the overlap percentage of two probability distributions.

Project description

PDistMap

This package helps to find the overlap percentage of two probability distributions.

Installation

pip install pdistmap

How to use it

from pdistmap.intersection import KDEIntersection
import numpy as np

A = np.array([25, 40, 70, 65, 69, 75, 80, 85])
B = np.array([25, 40, 70, 65, 69, 75, 80, 85, 81, 90])

area = KDEIntersection(A,B).intersection_area()
print(area) # Expected output: 0.8752770150023454

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

pdistmap-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

pdistmap-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pdistmap-0.1.1.tar.gz.

File metadata

  • Download URL: pdistmap-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.12 Linux/6.8.0-44-generic

File hashes

Hashes for pdistmap-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9e4a773160894912a92d25107aa0ee9f32bf13008cddda2122e8543a17e8dce4
MD5 31c7019c517f002631662aa463bdb147
BLAKE2b-256 145209c2212aa0c5a140e2ddd52d3a0d10454b0e0506a570f43372b71f69c6ce

See more details on using hashes here.

File details

Details for the file pdistmap-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pdistmap-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.12 Linux/6.8.0-44-generic

File hashes

Hashes for pdistmap-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01ea832ae92f3c58dcd6c329dc5ada4c3e57d9c94130a7e416b61b7b05c4ade7
MD5 b63c04a82228645b92242818c3e21802
BLAKE2b-256 0a2ca30386456b028bb87091fa8c0f2ccdc25bee411a409202a897f112b0c46a

See more details on using hashes here.

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