taxi

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

commit 66f2fc543fda43ad3fb05750e12121991d652685
parent 8792dd327159b6eebbca167c325629b42e54766f
Author: Étienne Simon <esimon@esimon.eu>
Date:   Thu, 23 Jul 2015 17:47:45 -0400

use iteritems in init_valid

Diffstat:
Mdata/init_valid.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/init_valid.py b/data/init_valid.py @@ -30,7 +30,7 @@ _fields = { def init_valid(path): h5file = h5py.File(path, 'w') - for k, v in _fields.items(): + for k, v in _fields.iteritems(): h5file.create_dataset(k, (0,), dtype=v, maxshape=(None,)) split_array = numpy.empty(len(_fields), dtype=numpy.dtype([