Turing.jl
  • Get Started
  • Tutorials
  • Libraries
  • News
  • Team
Turing.jl
Bayesian inference with probabilistic programming
Tutorials Slack Discourse GitHub
Expressive

Turing models are easy to write and communicate — their syntax closely resembles mathematical notation.

General-purpose

Turing supports models with discrete parameters and stochastic control flow.

Composable

Turing is written entirely in Julia, and is interoperable with its powerful ecosystem.

Hello, World in Turing

Some text about how easy it is to get going.

@model function coinflip(; N::Int)
    # Prior belief about the probability of heads
    p ~ Beta(1, 1)

    # Heads or tails of a coin are drawn from `N`
    # Bernoulli distributions with success rate `p`
    y ~ filldist(Bernoulli(p), N)

end;
Goodbye, World in Turing

Some text about how easy it is to interface with external packages like AbstractGPs. Learn more about modelling Gaussian Processes with Turing.jl.

@model function putting_model(d, n; jitter=1e-4)
    v ~ Gamma(2, 1)
    l ~ Gamma(4, 1)
    f = GP(v * with_lengthscale(SEKernel(), l))
    f_latent ~ f(d, jitter)
    binomials = Binomial.(n, logistic.(f_latent))
    y ~ product_distribution(binomials)
    return (fx=f(d, jitter), f_latent=f_latent, y=y)
end

News

Turing.jl Newsletter 7
2 min

The fortnightly newsletter for the Turing.jl probabilistic programming language

The TuringLang team
May 23, 2025
Turing.jl Newsletter 6
1 min

The fortnightly newsletter for the Turing.jl probabilistic programming language

The TuringLang team
May 9, 2025
Turing.jl Newsletter 5
2 min

The fortnightly newsletter for the Turing.jl probabilistic programming language

The TuringLang team
Apr 25, 2025
Turing.jl Newsletter 4
2 min

The fortnightly newsletter for the Turing.jl probabilistic programming language

The TuringLang team
Apr 11, 2025
Turing.jl Newsletter 3
2 min

The fortnightly newsletter for the Turing.jl probabilistic programming language

The TuringLang team
Mar 28, 2025
Turing.jl Newsletter 2
2 min

The fortnightly newsletter for the Turing.jl probabilistic programming language

The TuringLang team
Mar 14, 2025
Turing.jl Newsletter 1
3 min

The fortnightly newsletter for the Turing.jl probabilistic programming language

The TuringLang team
Feb 28, 2025
Google Summer of Code 2022
5 min

It is another year of the Google Summer of Code time, and we have compiled an updated list of exciting Turing projects! Projects that the Turing team would be interested in…

Kai Xu, the TuringLang team
Feb 17, 2022
Google Summer of Code 2021
3 min

It’s about time for us to start thinking about projects we’d like to see at Turing.jl for the Google Summer of Code 2021! Below is a list of projects the Turing team would…

Cameron Pfiffer
Feb 10, 2021
Google Summer of Code 2020
2 min

As the 2020 Google Summer of Code comes to a close, the Turing team thought it would be a good opportunity to reflect on the work that was done by our superb students this…

Cameron Pfiffer
Sep 11, 2020
No matching items

See all news →

Learn more

Ecosystem

Learn about all the packages that are part of the TuringLang organization.

Documentation

Familiarize yourself with the mechanics of Turing.jl.

Official tutorials

Learn to tackle specific modelling problems with Turing.jl.

Algorithms

Placeholder text introducing this section on algorithms.

Supported MCMC and other learning algorithms
Column 1 Column 2 Column 3 Column 4
Entry A Entry D Entry G Entry J
Entry B Entry E Entry H Entry K
Entry C Entry F Entry I Entry L

Bayesian Workflow

Placeholder text introducing the Bayesian Workflow diagram from the ACM special issue submission.

An example of the Beeysian workflow.

Talks

Placeholder for intro text on list of talks which are available online

  • Talk 1
  • Talk 2
  • Talk 3

Other resources

This list contains a few other written resources for learning Turing. If you have written something and would like to share it with the community, please get in touch!

  • Statistical Rethinking
  • Jose Storopoli's Turing workshop (outdated in parts)
  • Jose Storopoli's blog on Turing and Bayesian Statistics
  • Placeholder for more...
Back to top

Turing is created by Hong Ge, and maintained by the core team of developers.
© 2024 under the terms of the MIT License.

 
  • Edit this page
  • Report an issue