diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-04-29 16:01:13 -0400 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-04-29 16:01:13 -0400 |
commit | 7604b28ff6e8293af383ae7328ea2285b3c9bba5 (patch) | |
tree | bc4084ad093f3f3cd3a327736eebab96414aa2cf /transformers.py | |
parent | f768d3e770216d4227ffd989cf98f1628fc476a3 (diff) | |
download | taxi-7604b28ff6e8293af383ae7328ea2285b3c9bba5.tar.gz taxi-7604b28ff6e8293af383ae7328ea2285b3c9bba5.zip |
Debug.
Diffstat (limited to 'transformers.py')
-rw-r--r-- | transformers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transformers.py b/transformers.py index 13852ac..3473fd5 100644 --- a/transformers.py +++ b/transformers.py @@ -43,7 +43,7 @@ def add_random_k(k, stream): lon = at_least_k(k, x[id_latitude], True, True) loc = random.randrange(len(lat)-k+1) return (numpy.array(lat[loc:loc+k], dtype=theano.config.floatX), - numpy.array(lon[loc:loc+k], dtype=theano.config.floatX)), + numpy.array(lon[loc:loc+k], dtype=theano.config.floatX)) return Mapping(stream, random_k, ('last_k_latitude', 'last_k_longitude')) def add_last_k(k, stream): |