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.2.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

pdistmap-0.1.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdistmap-0.1.2.tar.gz
  • Upload date:
  • Size: 7.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.2.tar.gz
Algorithm Hash digest
SHA256 38b478ae2e8345f1dbfa0c87c451a05dc9696a923b2c56b62c869782c056f1be
MD5 212f0fb0f77edb8d5c65950cedbd0fac
BLAKE2b-256 c39166c622d60dd8f99f7c427ccc80ac76953d184284b70b03f07518cf639011

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pdistmap-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2403d65526c6c49bc211382d0974db457a2dbcdda199f673eebfb5b3c14d6630
MD5 eabc3315c864c9a2f9b3e3a2791a2730
BLAKE2b-256 bb4db8612cf248ef772722220bbfc9e9ab752a6d9df20188c01103a20c485726

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