-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# gaussian_kde_gpu | ||
GPU Gaussian kernel density estimation | ||
|
||
## GPU Gaussian kernel density estimation | ||
|
||
The provided function `gaussian_kde_gpu()` is a simplified version of Scipy's `gaussian_kde`. It does not support weights and only uses the default Scott's Rule for bandwidth estimation. However, it leverages the computative power of a CUDA supported GPU via Numba. Given the random variable `p` it will estimate the probability density function (PDF) at query point `q` in the following way: | ||
|
||
``` {.python .numberLines} | ||
from gaussian_kde_gpu import gaussian_kde_gpu | ||
density = = gaussian_kde_gpu(p, q) | ||
``` | ||
|
||
For more details see [tutorial](GPU_Gaussian_kernel_density_estimation.ipynb). | ||
|
||
### Requirements | ||
|
||
- Numpy | ||
- Numba |