-
Notifications
You must be signed in to change notification settings - Fork 21
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
Adding region constraints to pysensors PR #17
Adding region constraints to pysensors PR #17
Conversation
…and subsequent .ipynb
…niharika-krithika-mohammad-regionConstraints Updation
…//github.com/Jimmy-INL/pysensors into niharika-krithika-mohammad-regionConstraints
…ad-regionConstraints
… with radius constraints
…//github.com/niharika2999/pysensors into niharika-krithika-mohammad-regionConstraints
… updation for radius based constraints
…ctions which calculate and update the norm
…//github.com/niharika2999/pysensors into niharika-krithika-mohammad-regionConstraints
Cleaning GQR and generating unit tests
…into cleaningGQR
for checking PR
…into TestingPR For cleaning
Cleaning gqr
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.
Just some comments after I looked at this PR.
examples/cost_constrained_qr.ipynb
Outdated
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.
Is there a reason this file is deleted?
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.
No, this file needs to be added again. Thank you so much for catching that.
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.
You are welcome, and this is now fixed.
|
||
""" | ||
|
||
def __init__(self, U, n_basis_modes=10, **kwargs): |
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.
Is kwargs needed for compatibility, or can it be removed?
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.
It is not necessarily needed but we have included it for uniformity. Adding documentation for it.
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.
Thank you.
…comments from _gqr.py,spatially_constrained_qr.ipynb and _norm_calc-py,adding kwargs documentation to _custom.py to address Josh comments
This PR adds an optimizer GQR to pysensors for handling constrained optimization.
The types of constraints it can handle are:
The functions for these constraints are added to utils.