summaryrefslogtreecommitdiff
path: root/snippets/python-mode/pm
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-03-24 22:36:59 -0400
committerKyle Meyer <kyle@kyleam.com>2014-03-24 22:38:28 -0400
commitbb0ba4fcb45bc08409657e05e7951a364f6a2e53 (patch)
tree7e06155f7b0ed9bd51b276c821462794bca36e4e /snippets/python-mode/pm
parentd3499573ef817ce737f924f4641dade14e6233fd (diff)
downloademacs.d-bb0ba4fcb45bc08409657e05e7951a364f6a2e53.tar.gz
Reorganize and add Python snippets
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)