-
Notifications
You must be signed in to change notification settings - Fork 36
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
Being Sensitive #125
Being Sensitive #125
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #125 +/- ##
==========================================
+ Coverage 66.18% 67.51% +1.32%
==========================================
Files 36 36
Lines 5267 5162 -105
==========================================
- Hits 3486 3485 -1
+ Misses 1781 1677 -104
Continue to review full report at Codecov.
|
@nwittler Is there any genuine reason to have an Lines 126 to 130 in 9d043b8
|
We want to make sure that the exact initial point is evaluated. I guess this could be handled at the sweep 'algorithm', if needed. |
Refactored Sensitivity to inherit and reuse code from Model Learning This meant getting rid of all legacy and stale code and only keeping code in line with SRP. Certain (broken) features that might have been previously implemented have been removed for the sake of clean, maintainable code. At present this will scan the goal_run in Model Learning using the sweep algorithm and do this in 1D sequentially for as many dims.
What
Bring back support for Sensitivity Analysis using the current codebase
Why
Closes #121
How
Refactored Sensitivity to inherit and reuse code from Model Learning. This meant getting rid of all legacy and stale code and only keeping code in line with SRP. Certain (broken) features that might have been previously implemented have been removed for the sake of clean, maintainable code. At present this will scan the goal_run in Model Learning using the sweep algorithm and do this in 1D sequentially for as many dims.
Remarks
This code can at present produce sensitivity plots of the following kind. As and when we need added functionality, the same should be added while ensuring maximum code reuse with Model Learning. Ideally, an abstract class should be provided that is implemented by both Model Learning and Sensitivity but such a refactor is beyond the scope of this PR.
Checklist
Please include and complete the following checklist. Your Pull Request is (in most cases) not ready for review until the following have been completed. You can create a draft PR while you are still completing the checklist. Check the Contribution Guidelines for more details. You can mark an item as complete with the
- [x]
prefixblack
andflake8
have been used to ensure styling guidelines are metnumpydoc
style