Skip to content

Commit

Permalink
added images on all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasvillani committed Jun 8, 2024
1 parent 8c0c11b commit 8e48a57
Show file tree
Hide file tree
Showing 23 changed files with 36 additions and 21 deletions.
6 changes: 4 additions & 2 deletions code.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Code"
toc: true
---

![](figs/linocut_mountaintops.png)

This page contains code snippets for algorithms in the book, sometimes in multiple languages. Click on the language icons to view and download the code.

#### Chapter 1 - The Bayesics
Expand All @@ -24,7 +26,7 @@ This page contains code snippets for algorithms in the book, sometimes in multip
#### Chapter 9 - Gibbs sampling

| | | | |
|---------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|
|---------------------|-----------------|-----------------|-----------------|
| Gibbs sampling from a multivariate normal | [![Julia](figs/julialogo.svg){alt="Julia" fig-alt="Gibbs sampling from a multivariate normal - Julia" fig-align="left" width="20"}](https://gist.github.com/mattiasvillani/e10f75403abbd992e28d6427777fbb03) | | |
| Gibbs sampling for mixture of normals | [![Julia](figs/julialogo.svg){alt="Julia" fig-alt="Gibbs sampling for mixture of normals - Julia" fig-align="left" width="20"}](https://gist.github.com/mattiasvillani/92e82ca32b6c5334983eef3fe95b8045) | [![R](figs/Rlogo.png){alt="R" fig-alt="Gibbs sampling for mixture of normals - R" fig-align="left" width="20"}](https://gist.github.com/mattiasvillani/27187865da917ba7fe29170c03a367c6) | |
| Gibbs sampling for mixture of Poissons | [![Julia](figs/julialogo.svg){alt="Julia" fig-alt="Gibbs sampling for mixture of Poissons - Julia" fig-align="left" width="20"}](https://gist.github.com/mattiasvillani/d71fbadc3a431109e82f1f843a09fa7b) | | |
Expand All @@ -51,7 +53,7 @@ This page contains code snippets for algorithms in the book, sometimes in multip
#### Chapter 17 - Dynamic models and sequential inference

| | | | |
|----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|-----|
|--------------------|------------------|------------------|------------------|
| Kalman filter and parameter estimation | [![Julia](figs/julialogo.svg){alt="Julia" fig-alt="Gibbs sampling from a multivariate normal - Julia" fig-align="left" width="20"}](https://gist.github.com/mattiasvillani/4a461587c037d257d7099b7675aa0ddf) | | |

: {.striped }
1 change: 1 addition & 0 deletions docs/code.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ <h1 class="title">Code</h1>

</header>

<p><img src="figs/linocut_mountaintops.png" class="img-fluid"></p>
<p>This page contains code snippets for algorithms in the book, sometimes in multiple languages. Click on the language icons to view and download the code.</p>
<section id="chapter-1---the-bayesics" class="level4">
<h4 class="anchored" data-anchor-id="chapter-1---the-bayesics">Chapter 1 - The Bayesics</h4>
Expand Down
Binary file added docs/figs/linocoumixturemountain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/figs/linocutMixture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/figs/linocutMixturePerson.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/figs/linocut_forest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/figs/linocut_mountaintops.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/figs/linocut_water.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion docs/halloferrors.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
</li>
<li class="nav-item">
<a class="nav-link" href="./code.html" rel="" target="">
<span class="menu-text">code</span></a>
<span class="menu-text">Code</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="./interactive.html" rel="" target="">
Expand Down Expand Up @@ -138,6 +138,7 @@ <h1 class="title">Hall of Typos</h1>

</header>

<p><img src="figs/linocut_water.png" class="img-fluid"></p>
<p>The following people 🙏 have kindly reported typos and errors in the book (ordered by the number of typos found):</p>
<ul>
<li>Alice Jonason, Stockholm University</li>
Expand Down
3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ <h1 class="title">Bayesian Learning</h1>

</header>

<p><img src="figs/linocutMixturePerson.png" class="img-fluid"></p>
<p>This is the home for the book <strong>Bayesian Learning</strong>, which is still work in progress. The book is currently used for the course <a href="https://github.com/mattiasvillani/BayesLearnCourse">Bayesian Learning</a> at Stockholm University.</p>
<p>A <a href="[pdf/BayesBook.pdf](https://github.com/mattiasvillani/BayesianLearningBook/raw/main/pdf/BayesBook.pdf)">pdf</a> of the book will always be available, even after the book gets published.</p>
<p>A <a href="https://github.com/mattiasvillani/BayesianLearningBook/raw/main/pdf/BayesBook.pdf">pdf</a> of the book will always be available, even after the book gets published.</p>
<p>The <a href="./notebooks.html">Notebooks</a> tab contains Quarto/Jupyter/Pluto notebooks for the chapters in the book.</p>
<p>The <a href="./code.html">Code</a> tab contains code for some algorithms used in the book.</p>
<p>The <a href="./interactive.html">Interactive</a> tab contains interactive Observable widgets.</p>
Expand Down
5 changes: 3 additions & 2 deletions docs/interactive.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">


<title>Bayesian Learning Book - Code</title>
<title>Bayesian Learning Book - Interactive</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down Expand Up @@ -123,7 +123,7 @@

<header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title">
<h1 class="title">Code</h1>
<h1 class="title">Interactive</h1>
</div>


Expand All @@ -138,6 +138,7 @@ <h1 class="title">Code</h1>

</header>

<p><img src="figs/linocut_forest.png" class="img-fluid"></p>
<p>This page contains interactive widgets for the book.</p>
<section id="chapter-1---the-bayesics" class="level4">
<h4 class="anchored" data-anchor-id="chapter-1---the-bayesics">Chapter 1 - The Bayesics</h4>
Expand Down
1 change: 1 addition & 0 deletions docs/notebooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ <h1 class="title">Notebooks</h1>

</header>

<p><img src="figs/linocoumixturemountain.png" class="img-fluid"></p>
<p>This page contains a set of notebooks in Julia, R and Python for some of the data analyses presented in the book.</p>
<section id="chapter-1---the-bayesics" class="level4">
<h4 class="anchored" data-anchor-id="chapter-1---the-bayesics">Chapter 1 - The Bayesics</h4>
Expand Down
2 changes: 1 addition & 1 deletion docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
{
"objectID": "interactive.html",
"href": "interactive.html",
"title": "Code",
"title": "Interactive",
"section": "",
"text": "This page contains interactive widgets for the book.\n\nChapter 1 - The Bayesics\n\n\n\n\nThe Bernoulli distribution\n\n\n\n\n\nMaximum likelihood iid Bernoulli data\n\n\n\n\n\nBayes’ theorem for events\n\n\n\n\n\n\n\n\nChapter 2 - One-parameter models\n\n\n\n\nBayesian inference for iid Bernoulli data\n\n\n\n\n\n\n\n\nChapter 3 - Multi-parameter models\n\n\nChapter 4 - Priors\n\n\nChapter 5 - Regression\n\n\nChapter 6 - Prediction and Decision making\n\n\nChapter 7 - Normal posterior approximation\n\n\nChapter 8 - Classification\n\n\nChapter 9 - Gibbs sampling\n\n\nChapter 10 - Markov Chain Monte Carlo simulation\n\n\nChapter 11 - Variational inference\n\n\nChapter 12 - Regularization\n\n\nChapter 13 - Mixture models and Bayesian nonparametrics\n\n\nChapter 14 - Model comparison and variable selection\n\n\nChapter 15 - Gaussian processes\n\n\nChapter 16 - Interaction models\n\n\nChapter 17 - Dynamic models and sequential inference\n\n\n\n\nKalman filter and parameter estimation"
},
Expand Down
Binary file added figs/linocoumixturemountain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figs/linocutMixture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figs/linocutMixturePerson.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figs/linocut_forest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figs/linocut_mountaintops.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figs/linocut_water.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions halloferrors.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Hall of Typos"
format: html
---

![](figs/linocut_water.png)

The following people 🙏 have kindly reported typos and errors in the book (ordered by the number of typos found):

- Alice Jonason, Stockholm University
Expand Down
28 changes: 15 additions & 13 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ title-block-banner: false
toc: false
---

This is the home for the book **Bayesian Learning**, which is still work in progress.
The book is currently used for the course [Bayesian Learning](https://github.com/mattiasvillani/BayesLearnCourse) at Stockholm University.
![](figs/linocutMixturePerson.png)

A [pdf]([pdf/BayesBook.pdf](https://github.com/mattiasvillani/BayesianLearningBook/raw/main/pdf/BayesBook.pdf)) of the book will always be available, even after the book gets published.
This is the home for the book **Bayesian Learning**, which is still work in progress. The book is currently used for the course [Bayesian Learning](https://github.com/mattiasvillani/BayesLearnCourse) at Stockholm University.

A [pdf](https://github.com/mattiasvillani/BayesianLearningBook/raw/main/pdf/BayesBook.pdf) of the book will always be available, even after the book gets published.

The [Notebooks](notebooks.qmd) tab contains Quarto/Jupyter/Pluto notebooks for the chapters in the book.

Expand All @@ -16,15 +17,16 @@ The [Code](code.qmd) tab contains code for some algorithms used in the book.
The [Interactive](interactive.qmd) tab contains interactive Observable widgets.

### Contents
1. The Bayesics
2. Single-parameter models
3. Multi-parameter models
4. Priors
5. Regression
6. Prediction and Decision making
7. Normal posterior approximation
8. Classification
9. Posterior simulation

1. The Bayesics
2. Single-parameter models
3. Multi-parameter models
4. Priors
5. Regression
6. Prediction and Decision making
7. Normal posterior approximation
8. Classification
9. Posterior simulation
10. Variational inference
11. Regularization
12. Model comparison
Expand All @@ -33,6 +35,6 @@ The [Interactive](interactive.qmd) tab contains interactive Observable widgets.
15. Interaction models
16. Mixture models
17. Dynamic models and sequential inference\
Appendix: Some Mathematical results
Appendix: Some Mathematical results

Thanks to [all](halloferrors.qmd) who found typos and error in the book.
4 changes: 3 additions & 1 deletion interactive.qmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
title: "Code"
title: "Interactive"
toc: true
---

![](figs/linocut_forest.png)

This page contains interactive widgets for the book.

#### Chapter 1 - The Bayesics
Expand Down
2 changes: 2 additions & 0 deletions notebooks.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Notebooks"
---

![](figs/linocoumixturemountain.png)

This page contains a set of notebooks in Julia, R and Python for some of the data analyses presented in the book.

#### Chapter 1 - The Bayesics
Expand Down

0 comments on commit 8e48a57

Please sign in to comment.