Repository navigation
Multivariate student's t proposal - #67
Merged
Merged
Conversation
Member
|
Blocked by #81 (can't run |
Member
There was a problem hiding this comment.
Why remove the assignment operator and swap?
Member
|
Merge conflicts are minimal, seem to be easy to resolve. |
Member
|
@fredRos could you fix the merge conflict? It looks trivial, but you know the changes best. Then I can run tests and merge quickly. |
added 16 commits
October 20, 2015 16:52
* remove boiler-plate ctors for Statistics * `and` -> `&&, `or` -> `||` * prefer `const string&` in ctor
* fixes bat#31 * allocate TVectorD in ThreadLocalStorage, fixes bat#63 * generate chi2 variate either with GSL via MathMore or via inverse transform via MathCore. MathMore isn't always available but overall runtime can be faster by a factor of 2(!). Needs some rather ugly `void*` hacking to hide the type from the public header and conditional compilation inside `BCEngineMCMC.cxx` * RandomSeed setting now in one place only: `SyncThreadStorage`. This means if MCMC is run again on the same model, the same random numbers are used. It's not clear if that's desirable or not
* Before the same parameter vector was compared every time. Now it changes appropriately. * now test factorized, multivariate Gaussian, and multivariate Cauchy for equality of serial and parallel evaluation
The compilation worked with root6 but not with root5. Apparently due to ROOT's CXXFLAGS
added 6 commits
October 20, 2015 17:05
* reintroduce memory leaks to preserve plots * fix correlation plot * fix iteration html output * increase lag so tests should work
The integration algorithm issued a warning about nonconvergence even though it converged because it compared the #iterations to the max. set for MCMC. Further improvements: * refactor cuba ctors * update default values for suave from latest cuba manual v4.2 * make unit test more robust by asking for higher precision than what is compared to. Sample mean allowed to run longer. * comment out suave for 3D integration. It just doesn't work
oschulz
added a commit
to oschulz/bat
that referenced
this pull request
Nov 3, 2015
Multivariate student's t proposal
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The main goal was to implement #31. It requires random numbers from the chi2 distribution. I implemented two alternatives. The much faster way is to use the GSL via MathMore. If that is not available, I use the inverse transform. The quantile function is slow, at least in root.
Along the way, I
I hope this is the last major new feature of the code for 1.0