aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdeB <adbrebs@gmail.com>2015-06-21 17:00:25 -0400
committerAdeB <adbrebs@gmail.com>2015-06-21 17:00:25 -0400
commit0fd3b1497ffa1bb625bf593c845e28901bc640b7 (patch)
treef03e58cbf9603d0bb3c32060e54d9756aa018048 /data
parent4cfba3efb678bc83c9528d603244310fec66c0c0 (diff)
downloadtaxi-0fd3b1497ffa1bb625bf593c845e28901bc640b7.tar.gz
taxi-0fd3b1497ffa1bb625bf593c845e28901bc640b7.zip
Model with only embeddings.
Diffstat (limited to 'data')
-rw-r--r--data/__init__.py1
-rw-r--r--data/transformers.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/data/__init__.py b/data/__init__.py
index 2121033..604809c 100644
--- a/data/__init__.py
+++ b/data/__init__.py
@@ -5,6 +5,7 @@ import numpy
path = os.environ.get('TAXI_PATH', '/data/lisatmp3/auvolat/taxikaggle')
+path = os.environ.get('TAXI_PATH', '/Users/adeb/data/taxi')
Polyline = h5py.special_dtype(vlen=numpy.float32)
diff --git a/data/transformers.py b/data/transformers.py
index 1bed887..e6806cc 100644
--- a/data/transformers.py
+++ b/data/transformers.py
@@ -94,7 +94,7 @@ class TaxiGenerateSplits(Transformer):
class _taxi_add_first_last_len_helper(object):
- def __init__(self, k, latitude, longitude):
+ def __init__(self, k, id_latitude, id_longitude):
self.k = k
self.id_latitude = id_latitude
self.id_longitude = id_longitude