Skip to main content

Density estimation functions.

Project description

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.

Project details


Release history Release notifications

This version
History Node

0.1.2

History Node

0.1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
densityestimation-0.1.2.tar.gz (1.1 kB) Copy SHA256 hash SHA256 Source None Apr 27, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page