@@ -20,77 +20,39 @@ description: |
2020 Turing.jl is a probabilistic programming language and Bayesian modelling framework for the Julia programming language.
2121---
2222
23- ``` {=html}
24- <div class="line-graph">
25- <div class="upper-content">
26- <div class="responsive-heading">Turing.jl</div>
27- </div>
28- <div>
29- <svg viewBox="0 0 2300 498" xmlns="http://www.w3.org/2000/svg">
30- <path class="line line1"
31- d="M0 487 C1155.53 487 1320.502 502.995 1391.761 461.5C1453.584 425.5 1467.657 399 1509.375 344.5C1551.093 290 1586.276 213 1645.586 213C1704.895 213 1776.77 350.5 1806.425 389C1875.39 478.535 1871.263 486.5 2300 487"/>
32- <path class="line line2"
33- d="M0 486.5 C223.96 486.5 883.72 484.016 977.94 484.016C1163.36 484.016 1183.85 461.682 1249.81 287.031C1283.73 197.222 1311.724 96 1349.948 96C1388.171 96 1418.291 219.36 1447.552 292.5C1536.356 514.469 1548.077 486 1734.55 486C1921.023 486 2087.346 485.5 2300 485.5"/>
34- <path class="line line3"
35- d="M0 487 C108.32 487 672.77 486.499 783.26 486.499C893.75 486.499 943.04 486.499 1051.36 486.499C1135.3 486.499 1218.74 489.327 1241.95 469.982C1293.57 426.95 1311.015 327.407 1328.845 262.111C1356 162.661 1377.725 8 1409.818 8C1441.911 8 1472.715 193.386 1490.888 262.111C1509.06 330.837 1526.835 423.687 1568.803 460.973C1600.671 489.286 1631.508 486.499 1722.851 486.499C1816.509 486.499 1890.44 486.499 1991.446 486.499C2092.453 486.499 2198.993 486.499 2300 486.499"/>
36- </svg>
37- </div>
38- </div>
39- ```
23+ {{< include _ includes/header.qmd >}}
4024
41- ``` {=html}
42- <span class="display-6 d-block text-center py-5 display-md-5 display-lg-4">
43- Bayesian inference with probabilistic programming
44- </span>
45- <div class="d-flex flex-column align-items-center gap-0 pb-5">
46- <div class="d-flex flex-row flex-wrap panel-wrapper gap-2">
47- <a href="https://turinglang.org/docs/tutorials/docs-00-getting-started/" class="button--fill btn">
48- Tutorials
49- </a>
50- <a href="https://julialang.slack.com/archives/CCYDC34A0" class="button btn">
51- Slack
52- </a>
53- <a href="https://discourse.julialang.org/c/domain/probprog/48" class="button btn">
54- Discourse
55- </a>
56- <a href="https://github.com/TuringLang" class="button btn">
57- GitHub
58- </a>
59- </div>
60- </div>
61- ```
25+ ::::: {.d-flex .flex-row .flex-wrap .panel-wrapper .gap-4 .section-end-space}
6226
63- ``` {=html}
64- <div class="d-flex flex-row flex-wrap panel-wrapper gap-4 section-end-space">
65- <div class="panel">
66- <div class="panel-title pb-1">
67- Expressive
68- </div>
69- Turing models are easy to write and communicate — their syntax closely resembles mathematical notation.
70- </div>
71- <div class="panel">
72- <div class="panel-title pb-1">
73- General-purpose
74- </div>
75- Turing supports models with discrete parameters and stochastic control flow.
76- </div>
77- <div class="panel">
78- <div class="panel-title pb-1">
79- Composable
80- </div>
81- Turing is written entirely in Julia, and is interoperable with its powerful ecosystem.
82- </div>
83- </div>
84- ```
27+ ::: {.panel}
28+ ##### Expressive {.panel-title .pb-1}
29+ Turing models are easy to write and communicate — their syntax closely resembles mathematical notation.
30+ :::
8531
86- <div class =" d-flex flex-row flex-wrap panel-wrapper gap-3 pb-2 " >
87- <div class =" example-text " style =" text-align :right ;padding :0.5rem ;" >
88- <div class =" fs-4 fw-bold pb-1 " >
89- Hello, World in Turing
90- </div >
91- Some text about how easy it is to [ get going] ( https://turinglang.org/docs/tutorials/00-introduction/ ) .
92- </div >
93- <div class =" example-code " >
32+ ::: {.panel}
33+ ##### General-purpose {.panel-title .pb-1}
34+ Turing supports models with discrete parameters and stochastic control flow.
35+ :::
36+
37+ ::: {.panel}
38+ ##### Composable {.panel-title .pb-1}
39+ Turing is written entirely in Julia, and is interoperable with its powerful ecosystem.
40+ :::
41+
42+ :::::
43+
44+
45+ ::::: {.d-flex .flex-row .flex-wrap .panel-wrapper .gap-3 .pb-2}
46+
47+ ::: {.example-text style="text-align: right ;padding:0.5rem;"}
48+
49+ <div class =" fs-4 fw-bold pb-1 " >Hello, World in Turing</div >
50+
51+ Some text about how easy it is to [ get going] ( https://turinglang.org/docs/tutorials/00-introduction/ ) .
52+
53+ :::
54+
55+ ::: {.example-code}
9456``` julia
9557@model function coinflip (; N:: Int )
9658 # Prior belief about the probability of heads
@@ -102,16 +64,21 @@ description: |
10264
10365end ;
10466```
105- </div >
106- </div >
107- <div class =" d-flex flex-row-reverse flex-wrap panel-wrapper gap-3 pt-2 section-end-space " >
108- <div class =" example-text " style =" padding :0.5rem ;" >
109- <div class =" fs-4 fw-bold pb-1 " >
110- Goodbye, World in Turing
111- </div >
112- 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.
113- </div >
114- <div class =" example-code " >
67+ :::
68+
69+ :::::
70+
71+ ::::: {.d-flex .flex-row-reverse .flex-wrap .panel-wrapper .gap-3 .pt-2 .section-end-space}
72+
73+ ::: {.example-text style="padding:0.5rem;"}
74+
75+ <div class =" fs-4 fw-bold pb-1 " >Goodbye, World in Turing</div >
76+
77+ 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.
78+
79+ :::
80+
81+ ::: {.example-code}
11582``` julia
11683@model function putting_model (d, n; jitter= 1e-4 )
11784 v ~ Gamma (2 , 1 )
@@ -123,14 +90,12 @@ end;
12390 return (fx= f (d, jitter), f_latent= f_latent, y= y)
12491end
12592```
126- </div >
127- </div >
93+ :::
94+
95+ :::::
96+
97+ ### News {.pb-3}
12898
129- ``` {=html}
130- <h3 class="pb-3">
131- News
132- </h3>
133- ```
13499::: {#news}
135100
136101:::
0 commit comments