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.34k stars 240 forks source link

Support for Kernel Smoothing #313

Open jtejido opened 5 years ago

jtejido commented 5 years ago

Hi,

First if all, thanks a lot for this awesome library. I've noticed that the package already has KDE, but will it eventually support Smoothing?

Thanks in advance.

markrogoyski commented 5 years ago

Hi,

Thank you for your interest in MathPHP and your kind words.

The answer to "will it eventually support xxx?" is possibly. It's a matter of priority and having the knowledge and/or well-documented algorithm with example data to implement it with confidence.

Smoothing seems like a big field. Are there specific statistical smoothing algorithms you are interested in or feel are more important than others? If we can identify the most important things as a smaller subset of functionality we could start planning for it for version 2.

Beakerboy commented 5 years ago

The library already has LOESS smoothing. I would have to research what kernel smoothing is.