Skip to content

Commit

Permalink
Notebooks: MCMC.ipynb (#223)
Browse files Browse the repository at this point in the history
* fix formatting

* description of MCMC

* FIX ormolu

* UPD htm version of the notebook
  • Loading branch information
mknorps authored Oct 25, 2022
1 parent 1906199 commit 78ff2d5
Show file tree
Hide file tree
Showing 4 changed files with 10,261 additions and 1,153 deletions.
356 changes: 209 additions & 147 deletions monad-bayes-site/MCMC.html

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions notebooks/plotting.hs
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,9 @@ instance Plottable [(T.Text, Double)] where
instance Plottable [(Double, Double)] where
plot ls = vlShow $ hist $ unzip ls

instance Plottable ([Double], [Double]) where
plot (xs, ys) =
vlShow $
scatterplot ((xs, ys), replicate (length xs) 1) (color []) Numbers Line

type Plot = VegaLiteLab
Loading

0 comments on commit 78ff2d5

Please sign in to comment.