Skip to content

Instantly share code, notes, and snippets.

@MMesch
Created December 7, 2020 19:55
Show Gist options
  • Save MMesch/300ab5b8d258e465e422483481a62ba2 to your computer and use it in GitHub Desktop.
Save MMesch/300ab5b8d258e465e422483481a62ba2 to your computer and use it in GitHub Desktop.
Illustration of Monad-Bayes score function
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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