News for hackers. Stuff that matters.
Re:Python library for univariate regression, interpolation, ... by clircle on Monday August 29, 2022 @09:27PM (#32645681)
Have you compared these to StatsModels? Or R? (which includes most of these ootb)
Re:Python library for univariate regression, interpolation, ... by codeboy7432 on Tuesday August 30, 2022 @12:04PM (#32651972)
I did look into stats models, but this was a large library with more than I needed. I did not look into R.. Are there any lightweight alternatives in this language?
Re:Python library for univariate regression, interpolation, ... by clircle on Tuesday August 30, 2022 @05:45PM (#32655559)
I think most or all of these models are in the R Standard lib
Re:Python library for univariate regression, interpolation, ... by wdkrnls on Tuesday August 30, 2022 @07:10PM (#32656369)
Not all as far as I know. For ridge regression you will want to install glmnet, for example. mgcv which is usually shipped with R provides access to a few common fast kernels which seem to be the ones python programmers are familiar with.
Re:Python library for univariate regression, interpolation, ... by clircle on Tuesday August 30, 2022 @08:36PM (#32656953)
Can use lm.ridge from MASS instead of glmnet, but yeah there’s going to be some smoother not in R standard library
Re:Python library for univariate regression, interpolation, ... by wdkrnls on Tuesday August 30, 2022 @07:13PM (#32656389)
mgcv also provides many more varieties of splines than base R.