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.1a0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdistmap-0.1.1a0.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.1a0.tar.gz
Algorithm Hash digest
SHA256 739821f57cdcca6d3626f9d2b3bfebace60ba004f6e204103dd43c5e2efc7f47
MD5 df9612280cd7b86a1d07c884b7fad605
BLAKE2b-256 25a620d407ee229811078ff4d769b0035d0a52b5bffdf80452eb3f1ffa1ea527

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pdistmap-0.1.1a0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 f54fd026a649f5a1c90190a72f25ea77e3c27c98994fb84f536cf096121a57ee
MD5 c2b737645a4083de3be742236e928048
BLAKE2b-256 8e0a52bb1936f16afb07a9b68db89b529f0d74be67d123c1ef48e8a6dc7069b0

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