Skip to content

Instantly share code, notes, and snippets.

@bdatko
bdatko / makefile
Last active December 19, 2020 16:57
conda gnu make
SHELL=/bin/bash
.DEFAULT_GOAL:=help
env_name:=name_of_conda_env
conda:=conda
fixtures:=tests/fixtures/
pytestflags:=
conda_root:=/Path/to/conda
conda_activate:=$(conda_root)/bin/activate
@bdatko
bdatko / carlin_gist.ipynb
Last active February 23, 2022 01:45
Carlin et al. Smoking Longitudinal Binary Mixture Model
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bdatko
bdatko / coin_inference.ipynb
Last active July 10, 2022 23:00
Bayesian inference of a bias coin using discrete Bayesian Networks in pyAgrum
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bdatko
bdatko / classifier_inference.ipynb
Created July 11, 2022 02:51
Discrete Bayesian network of a classifer with Beta distributed FPR, FNR, and class prior
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bdatko
bdatko / reparameterize_beta.ipynb
Created July 17, 2022 01:05
playing around with reparam beta distribution in pyAgrum
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bdatko
bdatko / coin_inference_v01.ipynb
Created July 17, 2022 01:18
updated coin inference in pyAgrum
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bdatko
bdatko / filling_cpt_beta.ipynb
Created July 18, 2022 00:14
filling conditional probability tables, broadcasting, and tensors
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bdatko
bdatko / potential_fillWith.ipynb
Created July 18, 2022 01:15
playing around with pyAgrum potentials
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bdatko
bdatko / beta_reparameterization_coin.ipynb
Last active July 18, 2022 01:36
pyAgrum inference of the bias of a coin from observed coin flips using a re-parameterization of the Beta distribution
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.