-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Add scipy.optimize.Result
to API docs
#3010
Conversation
I'd perhaps put it somewhere quite up, maybe immediately after minimize, or to a separate autosummary list after the first one. The optimize module docstring is IMHO quite confusing overall and would be useful to restructure. |
I tried just listing the @pv You mentioned that an overall restructure of the Apart from that I tried went through the |
DOC: optimize: add Result to API docs + fix tutorial
Thanks, looks good. The restructuring can be done later on. |
@pv |
|
Fixed in 8594f29 |
|
The docs.scipy.org pages are updated only daily, not immediately. |
Since |
OK. It's in the docs now. Thanks! +1 to changing to the more specific name of |
Yes, it's probably too generic, so +1 for rename |
Ralf Gommers a écrit :
It's used in root() as well, so something like OptimizeResult may be better. |
If we have namespaces then what about |
See scipygh-3010 for discussion.
The return value of
scipy.optimize.minimize
is ascipy.optimize.Result
object as described here:http://docs.scipy.org/doc/scipy-dev/reference/generated/scipy.optimize.minimize.html
But
scipy.optimize.Result
is currently missing from the scipy API docs.I guess all that is needed is to list it in the docstring here?
https://github.com/scipy/scipy/blob/master/scipy/optimize/__init__.py
But I wasn't sure where to put it ... a new section at the end?