-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: interpolators, smoothers and splines #2361
Labels
Comments
here is the traceback for predict with patsy formula bspline (no clean example yet)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The type of models that have only a few (for memory consumption) basis functions, can be estimated and used by our regular models, or by looking at the (nobs, nobs) "kernel" matrix.
Examples:
Kernel Ridge Regression in sandbox
scikit smooth
http://mail.scipy.org/pipermail/scipy-dev/2015-April/020617.html with link to code on scipy-central
(has a nice class structure that could be used in a similar way for subclassing with choice of basis function)
creating a projection matrix based on splines.
Use case: Matthews on scipy-dev: having a single 1d exog x, but many endog y.
Using patsy's bsplines doesn't handle boundaries properly. problems with extrapolation. That will need more work.
(Also using the bspline in a formula with OLS works fine for fitting, but I had an exception in the predict. traceback will follow in next comment.)
The text was updated successfully, but these errors were encountered: