aboutsummaryrefslogtreecommitdiff
path: root/config/dest_simple_mlp_tgtcls_0_cs.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/dest_simple_mlp_tgtcls_0_cs.py')
-rw-r--r--config/dest_simple_mlp_tgtcls_0_cs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/dest_simple_mlp_tgtcls_0_cs.py b/config/dest_simple_mlp_tgtcls_0_cs.py
index 704e62c..cd62926 100644
--- a/config/dest_simple_mlp_tgtcls_0_cs.py
+++ b/config/dest_simple_mlp_tgtcls_0_cs.py
@@ -1,17 +1,18 @@
+import os
import cPickle
from blocks.initialization import IsotropicGaussian, Constant
import data
+from model.dest_simple_mlp_tgtcls import Model, Stream
-import model.dest_simple_mlp_tgtcls as model
n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory
n_end_pts = 5
n_valid = 1000
-with open("%s/arrival-clusters.pkl" % data.path) as f: tgtcls = cPickle.load(f)
+with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: tgtcls = cPickle.load(f)
dim_embeddings = [
('origin_call', data.origin_call_train_size, 10),