-
Notifications
You must be signed in to change notification settings - Fork 547
Extended Parmest Capability for weighted SSE objective #3535
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
base: main
Are you sure you want to change the base?
Conversation
@slilonfe5 Here is some quick feedback
Feedback on the
|
@adowling2 @djlaky I also updated the calculation for the normal SSE such that we can use the user-supplied measurement error if defined; otherwise, we calculate the measurement error as usual. |
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 progress. I think it is time to start writing tests for the new capabilities.
@slilonfe5 Once you have the tests ready, tag us for feedback. Also, I think you can skip adding this to the depreciated class. |
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.
Here is more feedback as you work on getting this ready for the Pyomo team to review.
@adowling2 @djlaky I have created a separate method ( I tested these with three examples (2 steady state and 1 dynamic), and all work well. I'm yet to write the test file for these. |
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.
This seems like a lot of comments, but there are a few repeats! This is looking pretty good so far; most of my questions/suggestions aren't "necessary" but will make the code cleaner.
@mrmundt Thank you for your feedback. I will work on them to make the code cleaner. |
@mrmundt @blnicho @jsiirola @adowling2 @djlaky I have implemented Miranda's final review on this PR. I will work on getting this moved to "Done" in the Parmest & Pyomo.DoE Development board. Thanks |
@slilonfe5 I took a look at the failing doctests and I think you just need to update some code snippets in the parmest documentation to match the API changes in your PR. This is the file and one of the doctests that's failing: https://github.com/Pyomo/pyomo/blame/10d6acc37cca0cf8bc1a5a9734516fc7fd70c989/doc/OnlineDocs/explanation/analysis/parmest/driver.rst#L86 Take a look at all the code snippets in that file and make sure they are using the updated API and won't throw deprecation warnings. |
@blnicho @mrmundt @jsiirola @adowling2 @djlaky I have implemented the feedback from Bethany regarding updating the documentation files (e.g., driver.rst) to match the API changes in this PR. All the documentation tests now pass. I need a final review of the updates I made to the documentation files; driver.rst, datarec.rst, and covariance.rst. Thank you. |
Fixes # .
Summary/Motivation:
Currently, the Parmest SSE objective does not support measurements in different units. This work adds new capabilities to Parmest, including weighted SSE to handle measurements in different units, and more robust covariance matrix calculation methods for more accurate uncertainty quantification. This work also enables the calculation of the covariance matrix using a user-supplied measurement error standard deviation.
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: