Last active
June 24, 2023 07:39
-
-
Save tillahoffmann/f844bce2ec264c1c8cb5 to your computer and use it in GitHub Desktop.
Weighted kernel density estimation based on `scipy.stats.gaussian_kde`.
My hat off to you sir. Thank you for sharing this. Extremely helpful.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very useful code. I think a
may be missing. Without it, setting the
bw_method
to a scalar (e.g.0.1
and notscott
) results in an exception.