taxi

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

commit e6215fdd8b64c91210268cc8e929b19c22a53660
parent c3ec750f4a04e3117d658e8275dd3d91d2b0cbe4
Author: Alex Auvolat <alex.auvolat@ens.fr>
Date:   Thu, 11 Jun 2015 15:26:51 -0400

Merge branch 'master' of github.com:adbrebs/taxi

Diffstat:
Mconfig/dest_simple_mlp_2_cs.py | 2--
Mconfig/dest_simple_mlp_2_cswdt.py | 2--
Mconfig/dest_simple_mlp_2_noembed.py | 2--
Mconfig/dest_simple_mlp_tgtcls_0_cs.py | 2--
Mconfig/dest_simple_mlp_tgtcls_1_cs.py | 2--
Mconfig/dest_simple_mlp_tgtcls_1_cswdt.py | 2--
Mconfig/dest_simple_mlp_tgtcls_1_cswdtx.py | 2--
Mconfig/dest_simple_mlp_tgtcls_1_cswdtx_alexandre.py | 2--
Mconfig/joint_simple_mlp_tgtcls_111_cswdtx.py | 2--
Mconfig/joint_simple_mlp_tgtcls_111_cswdtx_bigger.py | 2--
Mconfig/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py | 2--
Mconfig/joint_simple_mlp_tgtcls_111_cswdtx_noise_dout.py | 2--
Mconfig/joint_simple_mlp_tgtcls_1_cswdtx.py | 2--
Mconfig/joint_simple_mlp_tgtcls_1_cswdtx_bigger.py | 2--
Mconfig/time_simple_mlp_1.py | 2--
Mconfig/time_simple_mlp_2_cswdtx.py | 2--
Mconfig/time_simple_mlp_tgtcls_2_cswdtx.py | 2--
17 files changed, 0 insertions(+), 34 deletions(-)

diff --git a/config/dest_simple_mlp_2_cs.py b/config/dest_simple_mlp_2_cs.py @@ -6,8 +6,6 @@ from model.dest_simple_mlp import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - dim_embeddings = [ ('origin_call', data.origin_call_train_size, 10), ('origin_stand', data.stands_size, 10) diff --git a/config/dest_simple_mlp_2_cswdt.py b/config/dest_simple_mlp_2_cswdt.py @@ -6,8 +6,6 @@ from model.dest_simple_mlp import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - dim_embeddings = [ ('origin_call', data.origin_call_train_size, 10), ('origin_stand', data.stands_size, 10), diff --git a/config/dest_simple_mlp_2_noembed.py b/config/dest_simple_mlp_2_noembed.py @@ -6,8 +6,6 @@ from model.dest_simple_mlp import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - dim_embeddings = [] # do not use embeddings dim_input = n_begin_end_pts * 2 * 2 + sum(x for (_, _, x) in dim_embeddings) diff --git a/config/dest_simple_mlp_tgtcls_0_cs.py b/config/dest_simple_mlp_tgtcls_0_cs.py @@ -9,8 +9,6 @@ from model.dest_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: tgtcls = cPickle.load(f) dim_embeddings = [ diff --git a/config/dest_simple_mlp_tgtcls_1_cs.py b/config/dest_simple_mlp_tgtcls_1_cs.py @@ -9,8 +9,6 @@ from model.dest_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: tgtcls = cPickle.load(f) dim_embeddings = [ diff --git a/config/dest_simple_mlp_tgtcls_1_cswdt.py b/config/dest_simple_mlp_tgtcls_1_cswdt.py @@ -9,8 +9,6 @@ from model.dest_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: tgtcls = cPickle.load(f) dim_embeddings = [ diff --git a/config/dest_simple_mlp_tgtcls_1_cswdtx.py b/config/dest_simple_mlp_tgtcls_1_cswdtx.py @@ -9,8 +9,6 @@ from model.dest_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: tgtcls = cPickle.load(f) dim_embeddings = [ diff --git a/config/dest_simple_mlp_tgtcls_1_cswdtx_alexandre.py b/config/dest_simple_mlp_tgtcls_1_cswdtx_alexandre.py @@ -9,8 +9,6 @@ from model.dest_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: tgtcls = cPickle.load(f) dim_embeddings = [ diff --git a/config/joint_simple_mlp_tgtcls_111_cswdtx.py b/config/joint_simple_mlp_tgtcls_111_cswdtx.py @@ -9,8 +9,6 @@ from model.joint_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: dest_tgtcls = cPickle.load(f) diff --git a/config/joint_simple_mlp_tgtcls_111_cswdtx_bigger.py b/config/joint_simple_mlp_tgtcls_111_cswdtx_bigger.py @@ -9,8 +9,6 @@ from model.joint_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 10 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: dest_tgtcls = cPickle.load(f) diff --git a/config/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py b/config/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py @@ -9,8 +9,6 @@ from model.joint_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 10 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: dest_tgtcls = cPickle.load(f) diff --git a/config/joint_simple_mlp_tgtcls_111_cswdtx_noise_dout.py b/config/joint_simple_mlp_tgtcls_111_cswdtx_noise_dout.py @@ -12,8 +12,6 @@ from model.joint_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: dest_tgtcls = cPickle.load(f) diff --git a/config/joint_simple_mlp_tgtcls_1_cswdtx.py b/config/joint_simple_mlp_tgtcls_1_cswdtx.py @@ -9,8 +9,6 @@ from model.joint_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: dest_tgtcls = cPickle.load(f) diff --git a/config/joint_simple_mlp_tgtcls_1_cswdtx_bigger.py b/config/joint_simple_mlp_tgtcls_1_cswdtx_bigger.py @@ -9,8 +9,6 @@ from model.joint_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 7 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: dest_tgtcls = cPickle.load(f) diff --git a/config/time_simple_mlp_1.py b/config/time_simple_mlp_1.py @@ -6,8 +6,6 @@ from model.time_simple_mlp import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - dim_embeddings = [ ] diff --git a/config/time_simple_mlp_2_cswdtx.py b/config/time_simple_mlp_2_cswdtx.py @@ -6,8 +6,6 @@ from model.time_simple_mlp import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - dim_embeddings = [ ('origin_call', data.origin_call_train_size, 10), ('origin_stand', data.stands_size, 10), diff --git a/config/time_simple_mlp_tgtcls_2_cswdtx.py b/config/time_simple_mlp_tgtcls_2_cswdtx.py @@ -6,8 +6,6 @@ from model.time_simple_mlp_tgtcls import Model, Stream n_begin_end_pts = 5 # how many points we consider at the beginning and end of the known trajectory -n_valid = 1000 - # generate target classes as a Fibonacci sequence tgtcls = [1, 2] for i in range(22):