Skip to content

Commit

Permalink
attempting reduction of output
Browse files Browse the repository at this point in the history
  • Loading branch information
asemposki committed Sep 7, 2024
1 parent 256a271 commit 3ae7052
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"# For plotting\n",
"import matplotlib.pyplot as plt\n",
"\n",
"# ! pip install seaborn # uncomment to install\n",
"# ! pip install ptemcee # uncomment to install\n",
"! pip install seaborn # comment if installed\n",
"! pip install ptemcee # comment if installed\n",
"\n",
"import seaborn as sns\n",
"sns.set_context('poster')\n",
Expand Down Expand Up @@ -247,7 +247,7 @@
" 'burn_in_fixed_discard': 50,\n",
" 'nsamples': 2000,\n",
" 'threads': 6,\n",
" 'printdt': 2000}\n",
" 'printdt': 9000}\n",
"\n",
"result = mix_model.train(x_exp=g, y_exp=y_exp, y_err=y_err, outdir = 'outdir/samba_bivariate', \n",
"label='cdf_mix', kwargs_for_sampler=kwargs_for_sampler)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"# For plotting\n",
"import matplotlib.pyplot as plt\n",
"\n",
"# ! pip install seaborn # uncomment to install\n",
"# ! pip install ptemcee # uncomment to install\n",
"! pip install seaborn # comment if installed\n",
"! pip install ptemcee # comment if installed\n",
"\n",
"import seaborn as sns\n",
"sns.set_context('poster')\n",
Expand Down Expand Up @@ -851,7 +851,7 @@
" 'burn_in_fixed_discard': 50,\n",
" 'nsamples': 2000,\n",
" 'threads': 6,\n",
" 'printdt': 2000}\n",
" 'printdt': 10000}\n",
"\n",
"result = mix_model.train(x_exp=g, y_exp=exp_data[0], y_err=exp_data[1],\n",
" label='cdf_mix', \n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"# For plotting\n",
"import matplotlib.pyplot as plt\n",
"\n",
"# ! pip install seaborn # uncomment to install\n",
"# ! pip install ptemcee # uncomment to install\n",
"! pip install seaborn # comment if installed\n",
"! pip install ptemcee # comment if installed\n",
"\n",
"import seaborn as sns\n",
"sns.set_context('poster')\n",
Expand Down Expand Up @@ -752,7 +752,7 @@
" 'burn_in_fixed_discard': 50,\n",
" 'nsamples': 2000,\n",
" 'threads': 6,\n",
" 'printdt': 2000}\n",
" 'printdt': 9000}\n",
"\n",
"result = mix_model.train(x_exp=g, y_exp=y_exp, y_err=y_err, outdir = 'outdir/samba_bivaraite', label='step_mix',\n",
" kwargs_for_sampler=kwargs_for_sampler)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@
" 'nsamples': 2000,\n",
" #'threads': 6,\n",
" 'npool':1,\n",
" 'printdt': 2000}\n",
" 'printdt': 9000}\n",
"result = mix_model.train(x_exp=g, y_exp=y_exp, y_err=y_err,outdir = 'outdir/samba_bivariate_1', label='switchcos_mix', \n",
" kwargs_for_sampler=kwargs_for_sampler)"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"# For plotting\n",
"import matplotlib.pyplot as plt\n",
"\n",
"# ! pip install seaborn # uncomment to install\n",
"# ! pip install ptemcee # uncomment to install\n",
"! pip install seaborn # comment if installed\n",
"! pip install ptemcee # comment if installed\n",
"\n",
"import seaborn as sns\n",
"sns.set_context('poster')\n",
Expand Down Expand Up @@ -751,7 +751,7 @@
" 'burn_in_fixed_discard': 50,\n",
" 'nsamples': 2000,\n",
" 'threads': 6,\n",
" 'printdt': 2000}\n",
" 'printdt': 9000}\n",
"\n",
"result = mix_model.train(x_exp=g, y_exp=exp_data[0], y_err=exp_data[1],outdir = 'outdir/samba_bivariate', \n",
" label='switchcos_mix_constrained',\n",
Expand Down
6 changes: 3 additions & 3 deletions book/notebooks/LMM/coleman_models_BMM_comparative_study.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"# For plotting\n",
"import matplotlib.pyplot as plt\n",
"\n",
"# ! pip install seaborn # uncomment to install\n",
"# ! pip install ptemcee # uncomment to install\n",
"! pip install seaborn # comment if installed\n",
"! pip install ptemcee # comment if installed\n",
"\n",
"import seaborn as sns\n",
"sns.set_context('poster')\n",
Expand Down Expand Up @@ -342,7 +342,7 @@
" 'burn_in_fixed_discard':500,\n",
" 'nsamples':3000,\n",
" 'threads':6,\n",
" 'printdt':3000}\n",
" 'printdt':10000}\n",
" #'safety':2,\n",
" #'autocorr_tol':5}"
]
Expand Down

0 comments on commit 3ae7052

Please sign in to comment.