Conversation
|
@djlaky @adowling2 Please provide early feedback. |
|
Dynamic saving using flush, add. |
adowling2
left a comment
There was a problem hiding this comment.
Notes from our in-person discussion/informal code review
|
Extend existing tests for parmest to include multistart, add. |
|
Models provided need to include bounds, add exception |
adowling2
left a comment
There was a problem hiding this comment.
Here are some more comments for you to consider are you continue to refine this.
| upper_bound = np.array([parmest_model.find_component(name).ub for name in theta_names]) | ||
| # Check if the lower and upper bounds are defined | ||
| if np.any(np.isnan(lower_bound)) or np.any(np.isnan(upper_bound)): | ||
| raise ValueError( |
There was a problem hiding this comment.
You probably already know this, but you will need to check all the errors are raised when expected.
|
Now that _Q_opt has been finalized and merged, going to revisit this, make adjustments as needed from final _Q_opt and regularization revisions, and then will make a regular PR. |
|
@mrmundt Hi Miranda! I had a quick testing question if you can help clarify something. It looks like if a test has been marked expensive, it does not count as covered (according to coverage reports from individual checks). If this is as intended, is the goal to change those tests long-term? Curious your thoughts. Thanks! |
HELLO! Okay so, yes, expensive tests aren't run in the standard suite. We have a specific nightly job that exercises them on Jenkins (which does then upload a coverage report), but it only runs on |
|
(@mrmundt: actually, the Jenkins PR tests do run the expensive tests ... we need to have the |
Oh is that new? Because that wasn't the case before. ALRIGHT. Then it seems like it's a bug that the coverage reports aren't showing coverage on the expensive suite, too. EDIT: AHA! Right, they only run on Jenkins, and yours doesn't have the Jenkins job yet :P |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #3575 +/- ##
==========================================
- Coverage 90.14% 90.11% -0.04%
==========================================
Files 917 919 +2
Lines 109261 109430 +169
==========================================
+ Hits 98494 98609 +115
- Misses 10767 10821 +54
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@adowling2 @slilonfe5 @smondal13 I think this is ready to go. Another pair of eyes on the finalized would be great. Thanks! |
Fixes # .
Summary/Motivation:
Currently, the optimization is only done from a single initial value. This implementation adds the ability to specify multiple initial values using selected sampling techniques: from a random uniform distribution, using Latin Hypercube Sampling, or using Sobol Quasi-Monte Carlo sampling.
Changes proposed in this PR:
TODO before converting from draft:
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: