taxi

Winning entry to the Kaggle taxi competition
git clone https://esimon.eu/repos/taxi.git
Log | Files | Refs | README

commit 6d5dd44c5b6c6e0f7eecc5997b484b40f35c0074
parent b61a411fbcb98b09ee83f8dd124113c6d7f47737
Author: Étienne Simon <esimon@esimon.eu>
Date:   Thu, 23 Jul 2015 12:59:58 -0400

Remove add_destination calls

Diffstat:
Mmodel/bidirectional.py | 2--
Mmodel/rnn.py | 1-
2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/model/bidirectional.py b/model/bidirectional.py @@ -116,7 +116,6 @@ class Stream(object): stream = Unpack(stream) stream = transformers.taxi_add_datetime(stream) - stream = transformers.add_destination(stream) stream = transformers.Select(stream, tuple(v for v in req_vars if not v.endswith('_mask'))) stream = transformers.balanced_batch(stream, key='latitude', batch_size=self.config.batch_size, batch_sort_size=self.config.batch_sort_size) @@ -131,7 +130,6 @@ class Stream(object): stream = TaxiStream(self.config.valid_set, 'valid.hdf5') stream = transformers.taxi_add_datetime(stream) - stream = transformers.add_destination(stream) stream = transformers.Select(stream, tuple(v for v in req_vars if not v.endswith('_mask'))) stream = Batch(stream, iteration_scheme=ConstantScheme(self.config.batch_size)) diff --git a/model/rnn.py b/model/rnn.py @@ -165,7 +165,6 @@ class Stream(object): def valid(self, req_vars): stream = TaxiStream(self.config.valid_set, 'valid.hdf5') stream = transformers.taxi_add_datetime(stream) - stream = transformers.add_destination(stream) stream = transformers.Select(stream, tuple(v for v in req_vars if not v.endswith('_mask'))) stream = Batch(stream, iteration_scheme=ConstantScheme(self.config.batch_size))