News for hackers. Stuff that matters.
Re:Histograms for Probability Density Estimation: A Primer by Bostonian on Monday April 08, 2024 @06:10PM (#39974259)
If the data is continuous, use kernel density estimation (KDE) instead of histograms to visualize the probability density, since KDE will give a smoother fit. A similar idea is to fit a mixture of normals -- there are numerous R packages for this and sklearn.mixture.GaussianMixture in SciPy.
Re:Histograms for Probability Density Estimation: A Primer by vvanirudh on Monday April 08, 2024 @06:26PM (#39974373)
Yep! The next post would be on Kernel density estimation -- wanted to start from histograms as they are still a useful tool in 1-D and 2-D density estimation, and you don't have to store the data either (unlike KDE)
Re:Histograms for Probability Density Estimation: A Primer by Bostonian on Monday April 08, 2024 @06:51PM (#39974529)
I should have read to the end of your post:

'I will describe a very popular nonparametric method, Kernel Density Estimation, that also follows strategy 1 and is much more scalable to higher dimensions than histograms.'

Re:Histograms for Probability Density Estimation: A Primer by vvanirudh on Monday April 08, 2024 @07:59PM (#39974965)
Haha no worries!