Created
December 7, 2020 19:55
-
-
Save MMesch/300ab5b8d258e465e422483481a62ba2 to your computer and use it in GitHub Desktop.
Illustration of Monad-Bayes score function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
jupyter = import (builtins.fetchGit { | |
url = https://github.com/tweag/jupyterWith; | |
rev = "35eb565c6d00f3c61ef5e74e7e41870cfa3926f7"; | |
}) {config = {allowBroken =true;};}; | |
ihaskellWithPackages = jupyter.kernels.iHaskellWith { | |
extraIHaskellFlags = "--codemirror Haskell"; | |
name = "monad-bayes"; | |
packages = p: with p; [ | |
monad-bayes | |
hmatrix | |
hvega | |
ihaskell-hvega | |
statistics | |
vector | |
formatting | |
foldl | |
histogram-fill | |
]; | |
}; | |
jupyterlabWithKernels = | |
jupyter.jupyterlabWith { | |
kernels = [ ihaskellWithPackages ]; | |
}; | |
in | |
jupyterlabWithKernels.env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment