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
Documentation for s in UnivariateSpline is confusing #4975
Comments
I read this as guessing based on part of docs in description |
@josef-pkt how do you think s will differ when you set it to None vs 0 when w=None? |
TBH I fail to read it as |
I know they are not the same. My question is what is actually happening. |
The missing piece of documentation is maybe that Regarding what is actually happening, uhm well, here are Fortan level docs: https://github.com/scipy/scipy/blob/master/scipy/interpolate/fitpack/curfit.f#L141 Maybe some of this information could/should be added to python level docs. EDIT: https://github.com/scipy/scipy/blob/master/scipy/interpolate/src/fitpack.pyf#L263 |
|
This has already been answered in this thread, but I agree that the interface is confusing. You might think if you don't want weights or smoothing then you just don't provide |
correction: |
but I thought/think |
@cancan101 viewing this as a documentation issue, what would you suggest to add/remove/improve? |
Perhaps mention that |
From the docs:
I interpret that to mean that if
w
is not specified, thens=0
should be the same ass=None
but that does not seem to be the case.The text was updated successfully, but these errors were encountered: