From bb0ba4fcb45bc08409657e05e7951a364f6a2e53 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 24 Mar 2014 22:36:59 -0400 Subject: Reorganize and add Python snippets --- snippets/python-mode/pm | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 snippets/python-mode/pm (limited to 'snippets/python-mode/pm') diff --git a/snippets/python-mode/pm b/snippets/python-mode/pm deleted file mode 100644 index c5fb977..0000000 --- a/snippets/python-mode/pm +++ /dev/null @@ -1,16 +0,0 @@ -# name: pymc -# key: pm -# expand-env: ((yas/indent-line 'fixed)) -# -- -import theano.tensor as tn -import pymc as pm - -with pm.Model() as model: - $0 - -if __name__ == '__main__': - with model: - start = {} - trace = pm.sample(1000, - step=pm.NUTS(model.vars), - start=start) -- cgit v1.2.3