Python library for univariate regression, interpolation, and smoothing
github.com
github.com
Included Models: - Linear regression - Ridge regression - Linear spline - Isotonic regression - Bin regression - Cubic spline - Natural cubic spline - Exponential moving average - Kernel functions (Gaussian, KNN, Weighted average)
Why the requirement that you can't use scipy?
Have you heard of the package stats model?
Edit: well, Regessio itself also depends on NumPy, but might be able to run on top of ulab whereas I really doubt SciPy would.
".. I had to generate confidence intervals on over 8000 univariate data sets using very small VMs, so I needed to limit large dependancies as much as I could. This package was the result of this!"
Based on the comments in this thread, it may be worth trying to make this package not dependant on Numpy as well?
[1] https://github.com/apwheele/Blog_Code/tree/master/Python/Smo...
[2] https://andrewpwheeler.com/2020/09/20/making-smoothed-scatte...
In theory they should be useful when know that the underlying process should be monotone. I think in the past I found them more sensitive to noise and wondered if monotone approximation might not be better than monotone interpolation for that reason.
Monotonicity is currently not supported (for cubic splines).
[1] https://people.sc.fsu.edu/~jburkardt/cpp_src/spline/spline.h...
[2] https://netlib.org/pppack/
EDIT: A quick internet search (in my case for cubic splines) gave more relevant results, so dependent on your needs, just look around: https://www.bing.com/search?q=cubic+spline+c%2B%2B