1
1
---
2
2
# pagetitle: "Turing"
3
3
toc : false
4
- page-layout : custom
4
+ page-layout : full
5
5
section-divs : false
6
6
hide-description : true
7
+ listing :
8
+ - id : news
9
+ contents :
10
+ - " news/posts/*/index.qmd"
11
+ sort : date desc
12
+ type : grid
13
+ grid-columns : 3
14
+ categories : false
15
+ sort-ui : false
16
+ filter-ui : false
17
+ fields : [title, description, date]
18
+ max-items : 3
19
+ image-height : " 200"
7
20
description : |
8
21
Turing.jl is a probabilistic programming language and Bayesian modelling framework for the Julia programming language.
9
22
---
10
23
11
24
``` {=html}
12
- <div class="content-panel">
13
- <div class="d-flex flex-column align-items-center gap-0" style="padding:6rem 0;">
14
- <image src="assets/images/turing-logo.svg" width="150px" alt="Three normal probability distributions">
15
- <span style="font-size:4rem;font-weight:700;">
16
- Turing.jl
17
- </span>
18
- <span class="display-6 d-block text-center pb-4 display-md-5 display-lg-4">
19
- Bayesian inference with probabilistic programming
20
- </span>
21
- <div class="d-flex flex-row flex-wrap justify-content-center gap-2">
22
- <a href="https://turinglang.org/docs/tutorials/docs-00-getting-started/" class="button--fill btn">
23
- Tutorials
24
- </a>
25
- <a href="/library" class="button btn">
26
- Ecosystem
27
- </a>
28
- <a href="https://github.com/TuringLang" class="button btn">
29
- View on GitHub
30
- </a>
31
- </div>
25
+ <div class="d-flex flex-column align-items-center gap-0" style="padding:6rem 0;">
26
+ <image src="assets/images/turing-logo.svg" width="150px" alt="Three normal probability distributions">
27
+ <span style="font-size:4rem;font-weight:700;">
28
+ Turing.jl
29
+ </span>
30
+ <span class="display-6 d-block text-center pb-4 display-md-5 display-lg-4">
31
+ Bayesian inference with probabilistic programming
32
+ </span>
33
+ <div class="d-flex flex-row flex-wrap justify-content-center gap-2">
34
+ <a href="https://turinglang.org/docs/tutorials/docs-00-getting-started/" class="button--fill btn">
35
+ Tutorials
36
+ </a>
37
+ <a href="/library" class="button btn">
38
+ Ecosystem
39
+ </a>
40
+ <a href="https://github.com/TuringLang" class="button btn">
41
+ View on GitHub
42
+ </a>
32
43
</div>
33
- <div class="d-flex flex-row flex-wrap justify-content-center gap-3" style="padding-bottom:6rem;">
34
- <div class="card">
35
- <div class="card-title">
36
- Intuitive
37
- </div>
38
- Turing models are easy to write and communicate — syntax is close to mathematical notations.
44
+ </div>
45
+ <div class="d-flex flex-row flex-wrap justify-content-center gap-4 section-end-space">
46
+ <div class="panel">
47
+ <div class="panel-title">
48
+ Intuitive
39
49
</div>
40
- <div class="card">
41
- < div class="card-title" >
42
- General-purpose
43
- </ div>
44
- Turing supports models with discrete parameters and stochastic control flow.
50
+ Turing models are easy to write and communicate — syntax is close to mathematical notations.
51
+ </ div>
52
+ <div class="panel">
53
+ < div class="panel-title" >
54
+ General-purpose
45
55
</div>
46
- <div class="card">
47
- < div class="card-title" >
48
- Modular & composable
49
- </ div>
50
- Turing is modular, written entirely in Julia, and is interoperable with the powerful Julia ecosystem.
56
+ Turing supports models with discrete parameters and stochastic control flow.
57
+ </ div>
58
+ <div class="panel">
59
+ < div class="panel-title" >
60
+ Modular & composable
51
61
</div>
62
+ Turing is modular, written entirely in Julia, and is interoperable with the powerful Julia ecosystem.
52
63
</div>
53
64
</div>
54
65
```
55
- < div class = " content-panel " >
56
- <div class =" d-flex flex-row flex-wrap justify-content-center gap-3 " >
57
- <div style = " min-width : 420 px ; max-width : 420 px ; text-align :right ;padding :0.5rem ;" >
58
- <div style = " font-size : x-large ; font-weight : 700 ; padding-bottom : 0.5 rem ; " >
66
+
67
+ <div class =" d-flex flex-row flex-wrap justify-content-center gap-3 pb-2 " >
68
+ <div class = " example-text " style = " text-align :right ;padding :0.5rem ;" >
69
+ <div class = " fs-4 fw-bold pb-1 " >
59
70
Hello, World in Turing
60
71
</div >
61
72
Some text about how easy it is to [ get going] ( https://turinglang.org/docs/tutorials/00-introduction/ ) .
62
73
</div >
63
- <div style = " min-width : 500 px ; " >
74
+ <div class = " example-code " >
64
75
``` julia
65
76
@model function coinflip (; N:: Int )
66
77
# Prior belief about the probability of heads
75
86
```
76
87
</div >
77
88
</div >
78
- <div class =" d-flex flex-row flex-wrap justify-content-center gap-3 " >
79
- <div style =" min-width :500px ;" >
89
+ <div class =" d-flex flex-row-reverse flex-wrap justify-content-center gap-3 pt-2 section-end-space " >
90
+ <div class =" example-text " style =" padding :0.5rem ;" >
91
+ <div class =" fs-4 fw-bold pb-1 " >
92
+ Goodbye, World in Turing
93
+ </div >
94
+ Some text about how easy it is to interface with external packages like AbstractGPs. Learn more about modelling [ Gaussian Processes] ( https://turinglang.org/docs/tutorials/15-gaussian-processes/ ) with Turing.jl.
95
+ </div >
96
+ <div class =" example-code " >
80
97
``` julia
81
98
@model function putting_model (d, n; jitter= 1e-4 )
82
99
v ~ Gamma (2 , 1 )
@@ -89,60 +106,15 @@ end;
89
106
end
90
107
```
91
108
</div >
92
- <div style =" min-width :420px ; max-width :420px ;padding :0.5rem ;" >
93
- <div style =" font-size :x-large ;font-weight :700 ;padding-bottom :0.5rem ;" >
94
- Goodbye, World in Turing
95
- </div >
96
- Some text about how easy it is to interface with external packages like AbstractGPs. Learn more about modelling [ Gaussian Processes] ( https://turinglang.org/docs/tutorials/15-gaussian-processes/ ) with Turing.jl.
97
- </div >
98
109
</div >
99
- </div >
100
-
101
-
102
- <!--
103
- ::: {.hero-banner}
104
- ::: {.grid}
105
- ::: {.g-col-1}
106
- :::
107
- ::: {.g-col-8}
108
-
109
- # Turing.jl: Bayesian inference with probabilistic programming.
110
-
111
- ### Intuitive
112
- Turing models are easy to write and communicate — syntax is close to mathematical notations.
113
110
114
- ### General-purpose
115
- Turing supports models with discrete parameters and stochastic control flow.
116
-
117
- ### Modular and composable
118
- Turing is modular, written entirely in Julia, and is interoperable with the powerful Julia ecosystem.
119
-
120
-
121
- ::: {.hero-buttons style="position: relative; display: flex; justify-content: center;"}
122
- [Get Started]({{< meta get-started >}}){.btn-action-primary .btn-action .btn .btn-lg role="button" style="background-color: #073c44; color: white"}
123
- :::
124
-
125
- ::: {.g-col-3}
126
- :::
127
- :::
128
- :::
129
-
130
- :::
111
+ ``` {=html}
112
+ <div class="pb-3 fs-2 fw-bold">
113
+ News
114
+ </div>
115
+ ```
116
+ ::: {#news}
131
117
132
- ::: {style="position: relative; display: flex; justify-content: center;"}
133
- ::: {.grid}
134
- ::: {.g-col-1}
135
118
:::
136
- ::: {.g-col-8}
137
- ## Community Resources
138
-
139
- The Turing.jl [discourse forum](https://discourse.julialang.org/c/domain/probprog) provides support and discussion for all user levels.
140
- The [Turing.jl documentation]({{< meta get-started >}}) and [official tutorials]({{< meta tutorials-intro >}}) help users learn and use Turing.jl!
141
- There's also a [tutorial in Bayesian Statistics using Julia and Turing.jl](https://storopoli.io/Bayesian-Julia).
142
119
143
- :::
144
- ::: {.g-col-3}
145
- :::
146
- :::
147
- :::
148
- -->
120
+ [ See all news &rarr ; ] ( news/ )
0 commit comments