-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Confidence bands and Usability Improvements (#33)
* add dev branch checks * Feature/remove typestate pattern from model builder (#30) * break everything, but now we have a state machine * more work on removing typestate * refactor should be finished * fix clippy lints * Feature/confidence bands (#32) * start with confidence bands * update comment * don't store correlation matrix anymore, instead calculate it on the fly * disable fit statistics for mrhs because that was not working correctly * start adding calculations * minor changes to calculations * finish draft for confidence bands * add generics for mrhs vs single rhs * compiling, but doctests are failing * offer different APIs for single and multiple rhs * single vector api in fit statistics * compile and tests working, doctests still fail * remove obsolete code * add best fit method and start testing it * add more tests for best fit * more tests for best fit * add docs for confidence bands * fix doctests * start changing docs to better reflect mrhs * start with python script using lmfit for comparison * fiddle with parameters until fit works, add random noise for ci calculation * minor cleanups in script * write results * start with tests for confidence band * add x data to output * more test assets * test and fix bugs in confidence band * move some test assets around * add weighted decay * test fitting with weights, found problem with covmat * smaller refactor * use correct cov matrix for weighted problem * shorten todo comment * use correct conf interval, fix test * doctest readme, fix problems * increment version * fmt * doc fixes * add reduced chi2 and add comment about scaling * test reduced chi2 * update readme * add todo list * update changelog, add todo list * more documentation * add test for the remove typestate feature * more doc * overhaul readme again and add todos * more corrections in readme, append todo
- Loading branch information
Showing
36 changed files
with
1,187 additions
and
486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# ToDo List | ||
|
||
[ ] Better interface for fit result: successful fits should not have optional | ||
linear coefficients. Use const generic bool like I did for the MRHS case? | ||
[ ] Fit statistics (and confidence bands, but also correlation matrix etc) for | ||
problems with multiple RHS | ||
[ ] Provide a more convenient way to add fittable offsets (plus some safeguards, such | ||
that offsets cannot be added twice). Also think of a better name than fittable offset, | ||
but make it clear that it is not just a constant offset, but | ||
one that comes with an extra parameter. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.raw |
Oops, something went wrong.