Skip to content

Instantly share code, notes, and snippets.

View thelogicalgrammar's full-sized avatar

Fausto Carcassi thelogicalgrammar

View GitHub Profile
@thelogicalgrammar
thelogicalgrammar / model.py
Created February 1, 2023 08:38
Model with complex likelihood function
import numpy as np
import pandas as pd
import pymc as pm
import arviz as az
import pytensor as theano
import pytensor.tensor as tt
tprint = theano.printing.Print
import itertools as it