Optimal fixed or locally adaptive kernel density estimation
Project description
This package implements adaptive kernel density estimation algorithms for 1-dimensional signals developed by Hideaki Shimazaki. This enables the generation of smoothed histograms that preserve important density features at multiple scales, as opposed to naive single-bandwidth kernel density methods that can either over or under smooth density estimates. These methods are described in Shimazaki's paper:
H. Shimazaki and S. Shinomoto, "Kernel Bandwidth Optimization in Spike Rate Estimation," in Journal of Computational Neuroscience 29(1-2): 171–182, 2010 http://dx.doi.org/10.1007/s10827-009-0180-4.
License: All software in this package is licensed under the Apache License 2.0. See LICENSE.txt for more details.
Authors: Hideaki Shimazaki (shimazaki.hideaki.8x@kyoto-u.jp) shimazaki on Github Lee A.D. Cooper (cooperle@gmail.com) cooperlab on GitHub Subhasis Ray (ray.subhasis@gmail.com)
Three methods are implemented in this package:
-
sshist - can be used to determine the optimal number of histogram bins for independent identically distributed samples from an underlying one-dimensional distribution. The principal here is to minimize the L2 norm of the difference between the histogram and the underlying distribution.
-
sskernel - implements kernel density estimation with a single globally-optimized bandwidth.
-
ssvkernel - implements kernel density estimation with a locally variable bandwidth.
Dependencies: These functions in this package depend on NumPy for various operations including fast-fourier transforms and histogram generation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file adaptivekde-1.1.1.tar.gz
.
File metadata
- Download URL: adaptivekde-1.1.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8241a6c3d3e3b8cbd075cd868602edf8530afa6e366ed10441ee25b63a83a652 |
|
MD5 | c4c1a3cff45ad4ecafc6e4f0605df53b |
|
BLAKE2b-256 | a90ec217b8fb156badcd08ac8eeedb1b85a727fddb623f340e7cac85cea0abd4 |
File details
Details for the file adaptivekde-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: adaptivekde-1.1.1-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7e8738da0d3ee063520a2915a05ddc5051d948aaa8cafe90dec7d1d48ff93a1 |
|
MD5 | 6c28a6fd769f42512abf126a8d904583 |
|
BLAKE2b-256 | 277b4aaffa8ff710834967ab0197d0f4c7769915873ca6424919d7732a32b6be |