Skip to content

LaGauffre/ABCFitLoMo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

The Code folder contains the Jupyter notebooks for the examples given in the paper. Each notebook is named after the corresponding section of the paper. All the generated plots in our paper are in the Figures folder.

To run the notebooks, we recommend using Anaconda or Miniconda to install the dependencies.

To install the packages required for our approxbayescomp library, use:

conda install joblib matplotlib numba numpy psutil scipy
pip install fastprogress hilbertcurve

Extra packages used in these notebooks are:

conda install arviz dill pandas pymc3 seaborn
pip install black nb_black pdfCropMargins ttictoc

Conda prefers you to run one big install as opposed to multiple installs back-to-back since it can get all the compatible versions in one hit. So, to setup a fresh machine to run these notebooks (and to install Jupyter itself) use:

conda install arviz dill joblib matplotlib numba numpy jupyterlab pandas psutil pymc3 scipy seaborn 
pip install black fastprogress nb_black hilbertcurve pdfCropMargins ttictoc

PyMC3 has breaking changes to its interface on nearly every version update, so the notebooks have a cell near the top which prints out the version of PyMC3 which we used.

About

Online accompaniement (mainly python code) of the paper entitled "Approximate Bayesian Computations to fit and compare insurance loss models"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages