Skip to main content

Density Estimation

This package provides functions for three specific types of density estimators. You might find it most useful for tasks involving plotting kernel density estimates, histograms and nearest-neighbor density estimates.

Typical intallation often looks like this:

!pip install densityestimation

Dependencies

  • Numpy

  • Matplotlib

Examples

import numpy as np
sample = np.random.normal(0,1,1000)
kde(sample)

import numpy as np
sample = np.random.normal(0,1,1000)
hist(sample)

import numpy as np
sample = np.random.normal(0,1,1000)
nnde(sample)

Contributors

We would like to thank our professor, Brian Chapman, for guiding us through our first ever endeavors involving Python. It is because of you, this class and this project that density estimation in Python will never be the same, or at least in our eyes.

Release files for densityestimation 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for densityestimation 0.1.2
File Size Uploaded
densityestimation-0.1.2.tar.gz 1.1 kB Details

Release files / densityestimation-0.1.2.tar.gz

Download URL densityestimation-0.1.2.tar.gz
Size 1.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e393af26abf224d5e28b35f0f8f3ceb978886cc1a498726a6e58fb20c9d83524
BLAKE2b-256 checksum
How to use checksums
0f75ae0b5866a687bd94ada4404d806fdef840c1a2f4d425e41b4970fdfe95c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page