summaryrefslogtreecommitdiffstats
path: root/hawkes/main.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2015-09-13 15:40:02 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2015-09-13 15:40:13 -0400
commitfffb68b515a5cae198d8b756b562ddea6f2c814c (patch)
tree0ecd1c27d5f52c7e27bbf36b39491c984274a06a /hawkes/main.py
parent754bc37b60d5efbcf0ddad7b991f6effafe2237d (diff)
downloadcriminal_cascades-fffb68b515a5cae198d8b756b562ddea6f2c814c.tar.gz
Digging into the data
Diffstat (limited to 'hawkes/main.py')
-rw-r--r--hawkes/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hawkes/main.py b/hawkes/main.py
index cddc85b..40993a1 100644
--- a/hawkes/main.py
+++ b/hawkes/main.py
@@ -110,8 +110,8 @@ def optimize_with_gss(x, y, z, niter=100):
return ll(x, y, z)
for _ in xrange(niter):
- y, fc = gss(g, 0, 1, tol=1e-10)
- z, fc = gss(h, 0, 1, tol=1e-10)
+ y, fc = gss(g, 0, 100, tol=1e-10)
+ z, fc = gss(h, 0, 100, tol=1e-10)
x, fc = gss(f, 0, 1e-3, tol=1e-10)
print x, y, z, fc
sys.stdout.flush()