Crates.io | kernel-density-estimation |
lib.rs | kernel-density-estimation |
version | 0.2.0 |
source | src |
created_at | 2022-10-16 23:20:05.259876 |
updated_at | 2024-03-22 20:42:29.413867 |
description | Kernel density estimation in Rust. |
homepage | |
repository | https://github.com/seatonullberg/kernel-density-estimation |
max_upload_size | |
id | 689683 |
size | 223,369 |
Kernel density estimation in Rust.
Kernel density estimation (KDE) is a non-parametric method to estimate the probability density function of a random variable by taking the summation of kernel functions centered on each data point. This crate serves three major purposes based on this idea:
An excellent technical description of the method is available here.
Note: Currently only univariate distributions are supported but multivariate is a goal in the future!
univariate - This example showcases the core pdf
, cdf
, and sample
functionalities for a univariate distribution.
cargo run --example univariate
kernel - This example showcases each of the available kernel functions.
cargo run --example kernel
Refer to the milestone issues to see the direction the project is headed in future releases or CHANGELOG.md to see the changes between each release.
Distributed under the MIT License. See LICENSE for more information.
García-Portugués, E. (2022). Notes for Nonparametric Statistics. Version 6.5.9. ISBN 978-84-09-29537-1. ↩