summaryrefslogtreecommitdiff
path: root/snippets/python-mode
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/python-mode')
-rw-r--r--snippets/python-mode/pymc-file16
1 files changed, 0 insertions, 16 deletions
diff --git a/snippets/python-mode/pymc-file b/snippets/python-mode/pymc-file
deleted file mode 100644
index 1cae0cd..0000000
--- a/snippets/python-mode/pymc-file
+++ /dev/null
@@ -1,16 +0,0 @@
-# -*- mode: snippet -*-
-# name: pymc file
-# key: pmf
-# expand-env: ((yas-indent-line 'fixed))
-# --
-import pymc3 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) \ No newline at end of file