Skip to content

Broad checklist of docs bits to work on #484

Open
@torfjelde

Description

@torfjelde

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 given chain.
  • 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 in return ...) conditioned on a chain.
  • condition and decondition. 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 using condition / | (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, and logjoint. Easy-to-use methods for evaluating the model in different ways.
  • fix and condition

Developer-side:

We will add more to the list as we go on, but for now this is a good starting point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions