Open
Description
The documentation, in particular the one in Turing.jl itself, is in dire need of update given the amount of features and improvements we've made over the past year. In particular, the tutorials have lots and lots room for improvement.
A few things that come to mind immediately are the foollowing.
User-facing side:
-
Turing.predict
for predicting based on a givenchain
. -
DynamicPPL.generated_quantities
, similar to Stan's generated-block, which allows you to, effectively, capture the return-values of the model (i.e. the stuff inreturn ...
) conditioned on achain
. -
condition
anddecondition
. There are now two ways to indicate whether a variable is to be considered an observation: passing the variable as an argument (the "old" way), or usingcondition
/|
(the "new" way). The latter has is, arguably, more intuitive, in addition to being much easier to work with programmatically. -
@submodel
. A macro that allows you to use models within models. Makes it very easy to write modular models. -
logprior
,loglikelihood
, andlogjoint
. Easy-to-use methods for evaluating the model in different ways. - fix and condition
Developer-side:
- Implementation of the LogDensityProblems.jl interface for a
@model
. -
DynamicPPL.TestUtils
. This is a sub-module of DynamicPPL that can be quite useful if one is developing features for Turing.
We will add more to the list as we go on, but for now this is a good starting point.
Metadata
Metadata
Assignees
Labels
No labels