markrogoyski / math-php

Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
MIT License
2.33k stars 240 forks source link

Histograms #318

Open hzinova opened 5 years ago

hzinova commented 5 years ago

Hi it would be nice to implement Histograms:

https://github.com/pear/Math_Histogram/blob/master/Histogram.php

Beakerboy commented 5 years ago

Thanks for the suggestion. If you are already using MathPHP, we do have Kernel Density Estimation, which is like a continuous histogram. I actually prefer it to a histogram because the output is independent of the number of bins and the bin size.

markrogoyski commented 5 years ago

Hi @hzinova,

Thank you for your interest in MathPHP and improving it. Histograms (binning) is a planned feature, and your request helps to prioritize it.