Lightning fast, lightweight, and reliable kernel density estimation.
Project description
lightkde
A lightning fast, lightweight, and reliable kernel density estimation.
- Easy to use, e.g.
density_vec, x_vec = kde_1d(sample_vec=sample)
. - Works with 1d and 2d samples.
- Works with weighted samples as well.
- Based on the MATLAB implementations of Botev: kde, kde2d.
Install
pip install lightkde
Usage
import numpy as np
from lightkde import kde_1d
sample = np.random.randn(1000)
density_vec, x_vec = kde_1d(sample_vec=sample)
For further examples see the documentation.
Other kde packages
Other python packages for kernel density estimation:
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
lightkde-0.0.0.tar.gz
(23.4 kB
view details)
Built Distribution
lightkde-0.0.0-py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file lightkde-0.0.0.tar.gz
.
File metadata
- Download URL: lightkde-0.0.0.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | baec015f7920c44ae4e59c8849b94dfd6287b8ebd6f6da5c7dd3d1680e6575bc |
|
MD5 | 66c7b07eb840f75874a9286bf6406fa6 |
|
BLAKE2b-256 | 15cb4e15d1840399c450fc89748a25854638a777cdae18b121e270b1c624ffa5 |
Provenance
File details
Details for the file lightkde-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: lightkde-0.0.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cae034868409e221cae4878a00c73acba4cfc8128256b4aa04c77da6e752dc7 |
|
MD5 | 2869a5aad69ebb21ee5e64c1092d27c3 |
|
BLAKE2b-256 | 61e5b92f8b238a41d21a573b71f84579582c462fd3bd5d4f3e29cb0b91103bab |