Resolve "Implement caching in WaveformGenerator.__parameters_from_source_model"
Merged
requested to merge 166-implement-caching-in-waveformgenerator-__parameters_from_source_model into master
Closes #166 (closed)
Should be merged in after !152 (merged) because I made some changes related to that MR
Also creates a utils function to find parameters from a function.
Edited by Moritz Huebner
Merge request reports
Activity
assigned to @moritz.huebner
added 50 commits
- 5dd4ab71 - Introduced `Analytical1DLikelihood`
- e994f0be - Adapted GaussianLikelihood to new super class
- 2bccd550 - Adapted PoissonLikelihood to new super class
- 8ff37914 - Adapted ExponentialLikelihood to new super class
- 84fc009f - Adapted StudentTLikelihood to new super class
- c68b5016 - Some further simplifications and file reformatting
- 68205a4c - Made the new Likelihood class private because the user should never use it
- 1e2e4d96 - Made model_parameters a write only attribute
- b516a47b - Made func a read only property
- 81dcc883 - Renamed self.function -> self.func
- 6f28d5bd - Refactored N -> n (PEP8)
- 62cc3229 - Made the tests run properly
- d6feb0a3 - Made Analytical1DLikelihood public again
- 071fcbdd - Removed an alias and refactored a key
- 21ecf70c - Reformatted file
- d2990851 - Deleted redundant tests
- 5cbdd850 - Split a test into two
- e359092c - Added tests for Analytical1DLikelihood
- 2be27fac - Extracted two private methods
- 964e86b8 - Refactored code some more in GaussianLikelihood
- 7e7795f7 - Refactored code some more
- dde1ee41 - Shifted y setting logic into a property/setter structure
- 2ac8f384 - Added check that x, y in Analytical1DLikelihoods are always numpy arrays
- 53871d3f - Created two properties for the rate and the sumlogfactorial respectively.…
- e59da276 - Renamed a property
- d6127a83 - Fixed a bug I just introduced
- 42a042c2 - Introduced a mu property and simplified ExponentialLikelihood
- 8d106493 - Some more reformatting
- 280fd8fb - Moved the calculation of the residual into the parent class
- 3bfac960 - Refactored some more
- 3e43896d - Removed the residual aliases and replaced them accordingly
- 6fb97e69 - Added the possibility of x or y being a single float
- 130ddc5c - Added some docstrings
- a4c837a9 - Added some more docstrings and refactored some more
- 17d04bf1 - Fixed errors I introduced myself
- 251472b9 - Removed some of the slower and unnecessary properties
- faf745d3 - Renamed function -> func
- dcd3be7b - Added tests for Likelihood base class
- 21f2372c - Added tests for setting x and y
- a40c6ea5 - Made logic a bit safer for obscure data types
- 75705732 - Simplified test syntax
- ed41d915 - Tests cases of `PoissonLikelihood`
- 7ca8c69c - Corrected an incorrect cast
- 61cc31c2 - Tests cases of `ExponentialLikelihood`
- f833301b - Added test for default case of `ExponentialLikelihood.log_likelihood`
- 06261851 - Changed a comment
- 38cc1332 - Added some more tests for 100 % coverage.
- cbe52f8f - Made a check python 2 friendly
- e9ca92f6 - Merge branch '157-simplify-likelihoods' into…
- a2e38e73 - Replaced Analytical1DLikelihood._infer_parameters_from_function with utils…
Toggle commit listassigned to @colm.talbot
added 32 commits
-
989e6f9b...d52b5aff - 31 commits from branch
master
- 4a99d527 - Merge remote-tracking branch 'origin/master' into…
-
989e6f9b...d52b5aff - 31 commits from branch
mentioned in commit 28b46325
Please register or sign in to reply