Skip to content
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

Bivaraite with testing #41

Merged
merged 62 commits into from
Aug 14, 2023
Merged

Bivaraite with testing #41

merged 62 commits into from
Aug 14, 2023

Conversation

danOSU
Copy link
Collaborator

@danOSU danOSU commented Aug 14, 2023

Updated bivariatelinear mixing method with three possible ways to mix modes. BMMC, BMMcor and BMMmean. All the mixing methods have the ability to calibrate model parameters while mixing. Pytests for the three mixing methods are also included. To get an idea about how mixing methods are used in practice please take a look at coleman_models_BMM_comparative_study notebook. There I apply all three different mixing methods to the same Coleman toy models to mix + calibrate models at the same time.

danOSU and others added 30 commits January 20, 2023 16:12
…at the initialization of jetscape methods and then using it throughout. Seems to work. 3 times speed up
…ing of weights if two models have same parameters it will only infer the common set of parameters instead of treating them as entirely different ones
…and v42, They happen for very small values. I enforce taking the abs value hence of the varaince before taking the sqrt to find sd
…set of model paramters instead of two times that
…sum. We might be able to modify this to include error correlations
…scape

get update from laptop push to the repo
Dananjaya Liyanage and others added 28 commits April 23, 2023 08:20
…ng the diagonal fron np.diagonal() does not work as expected for 1,n,n arrays). And then updating the models to include a log_likelihood function ontop of log_likelihood_elementwise for the newest mixing method that takes into account cross correlations
…anOSU/Taweret into jetscape_cross_correlation_mix

updates from the local computer. Now linear mixing with the full error matrix works
…to utile. We can copy the source code and put it in util later on
…riate rather than in the model -- some argument name changes
…the initialization of the bivaraite mixing method
…so it can be put to general use without sims package dependence
…s given by the model when it is evaluvated at input parameters with no experimental data
…n be merged. No need to keeep as two seperate mixing methods
…ences. Taking into accoun Nan is done by numpy
@danOSU danOSU merged commit 02897a2 into develop Aug 14, 2023
@danOSU danOSU deleted the bivaraite_with_testing branch August 16, 2023 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant