This is not directly a question, but I went through some pain recently writing Python code to implement the Parzen-window technique for kernel density estimation using a hypercube. I wrote it up in a tutorial format and wanted to share it for those who find it useful.

Also, I am comparing it to the scipy.stats kde library class, which uses a Gaussian kernel and show how to use the estimated parameters for classifying some random 3-class 2-dimensional sample data via a Bayes' classifier.

I hope you find it useful and I am looking very much forward to your suggestions! And please let me know what you think!

Here is the link to the IPython notebook

asked Apr 20 '14 at 19:24

Sebastian%20Raschka's gravatar image

Sebastian Raschka
46224

1

Nice itiative. But I think there is a problem at Section 6. There is an error message there...

(Apr 20 '14 at 21:19) eder

Thanks a lot! I don't know, the whole document turned out to be bigger then initially intended - somehow this slipped through the cracks, but I fixed it now :)

(Apr 21 '14 at 00:42) Sebastian Raschka
Be the first one to answer this question!
toggle preview

powered by OSQA

User submitted content is under Creative Commons: Attribution - Share Alike; Other things copyright (C) 2010, MetaOptimize LLC.