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-1.0.4.tar.gz
(12.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lightkde-1.0.4-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file lightkde-1.0.4.tar.gz.
File metadata
- Download URL: lightkde-1.0.4.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.14 tqdm/4.64.1 importlib-metadata/6.0.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87c4b907f9dfbb12e495aabc225aa85b410725b4c72b9dedda4657346315b43e
|
|
| MD5 |
3583e8e8c9fabca479454c797b149ae3
|
|
| BLAKE2b-256 |
f6975190e5f360222d1a04f3c4c8e6a203a73b786e869ad9ed2f4b4fbc753c84
|
File details
Details for the file lightkde-1.0.4-py3-none-any.whl.
File metadata
- Download URL: lightkde-1.0.4-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.14 tqdm/4.64.1 importlib-metadata/6.0.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d71c0cb528e821fc638bb0d75145529fd39c8ac989a9c9ed02c0c79b9731e95
|
|
| MD5 |
40eda449b79ea8ad2a3a0a5b7349957c
|
|
| BLAKE2b-256 |
f6633f458bdd1b3c0908c12ae5d8a160fecaa787562e3e61ff29cb080b3f7fa8
|