-
Notifications
You must be signed in to change notification settings - Fork 17
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 docs for scico.solver
module
#202
Conversation
Codecov Report
@@ Coverage Diff @@
## main #202 +/- ##
==========================================
- Coverage 92.24% 92.22% -0.02%
==========================================
Files 48 48
Lines 3351 3345 -6
==========================================
- Hits 3091 3085 -6
Misses 260 260
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
scico/functional/_indicator.py
Outdated
@@ -50,17 +48,17 @@ def prox( | |||
self, v: Union[JaxArray, BlockArray], lam: float = 1.0, **kwargs | |||
) -> Union[JaxArray, BlockArray]: | |||
r"""Evaluate the scaled proximal operator of the indicator over | |||
the non-negative orthant, :math:`I_{>= 0} `,: | |||
the non-negative orthant, :math:`I_{>= 0}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there needs to be some connector here, because the equation on the following lines is part of this sentence (and is an independent clause)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a comma.
scico/solver.py
Outdated
# All rights reserved. BSD 3-clause License. | ||
# This file is part of the SCICO package. Details of the copyright and | ||
# user license can be found in the 'LICENSE' file distributed with the | ||
# package. | ||
|
||
"""Optimization algorithms.""" | ||
"""Optimization algorithms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: "Scipy optimization algorithms" or similar to differentiate between this and scico.optimize
which currently has the same description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good point. Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice description; I added a couple minor comments.
|
||
This module provides scico interface wrappers for functions | ||
from :mod:`scipy.optimize` since jax directly implements only a very | ||
limited subset of these functions (there is limited, experimental support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing closing parenthesis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch - fixed.
Resolves #123.
In addition:
__author__
attributes in a number of files