aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/mleNode.py
diff options
context:
space:
mode:
authorjeanpouget-abadie <jean.pougetabadie@gmail.com>2015-11-28 15:14:52 -0500
committerjeanpouget-abadie <jean.pougetabadie@gmail.com>2015-11-28 15:14:52 -0500
commit041aa021657a3c290952b222e3141449638bad19 (patch)
tree087dbbbfc1f08d207e6a443fc91e900b3a588d19 /simulation/mleNode.py
parente0152021025e07788e5ef928af6c9160c98c5452 (diff)
downloadcascades-041aa021657a3c290952b222e3141449638bad19.tar.gz
switch to python 3 + blocks version of MLE implemented
Diffstat (limited to 'simulation/mleNode.py')
-rw-r--r--simulation/mleNode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation/mleNode.py b/simulation/mleNode.py
index ed32a12..c6b2e85 100644
--- a/simulation/mleNode.py
+++ b/simulation/mleNode.py
@@ -26,7 +26,7 @@ def test_gradient(x, y):
f1 = likelihood(p, x, y)
p[i] -= 2 * eps
f2 = likelihood(p, x, y)
- print g[i], (f1 - f2) / (2 * eps)
+ print(g[i], (f1 - f2) / (2 * eps))
def infer(x, y):