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:
Release files for lightkde 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lightkde-1.0.5.tar.gz | 178.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lightkde-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 188.2 kB
Release files / lightkde-1.0.5.tar.gz
| Download URL | lightkde-1.0.5.tar.gz |
|---|---|
| Size | 178.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ddff3075e577124587a3dec1aeeea4c6223a3eec7de0e87c19bcb2219f14318
|
|
BLAKE2b-256 checksum How to use checksums |
9aa11c7f7655217dd58018778b1a59a458c5a2e2a4112dbaf9d305720eec3121
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency logRelease files / lightkde-1.0.5-py3-none-any.whl
| Download URL | lightkde-1.0.5-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
120f9be0deefd8f6026df489ddfd7b9b7a8a4b5e332828dedb6394dd12bd6e33
|
|
BLAKE2b-256 checksum How to use checksums |
c1b586a41bc24b17d1485128409cf8f5f356264a06b0c3dfde51775f45db8565
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency log