Implement the model
You need to first implement your model with Turing. We will refer to the directory of the model as model_dir. Let’s say there is a file calledmain.jl
, we will refer to this file as the entrance_file of the model:
- The model is implemented in
_model
- There is a function named
model
which acturally calls the_model
. Themodel
function is a requirements of Coinfer. With a single paramenter_input
.