summaryrefslogtreecommitdiff
path: root/snippets/python-mode/pm
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/python-mode/pm')
-rw-r--r--snippets/python-mode/pm16
1 files changed, 0 insertions, 16 deletions
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)