aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-05-22 16:16:22 -0400
committerAlex Auvolat <alex.auvolat@ens.fr>2015-05-22 16:16:22 -0400
commit7e8dbac77ce712846954bdd5f4bfb62b6efaf7df (patch)
treed5f6567ac117478f5553769abb1a774f9639abc2 /model
parent6744c6e7b69c206c19954d65981a5139ee61363e (diff)
downloadtaxi-7e8dbac77ce712846954bdd5f4bfb62b6efaf7df.tar.gz
taxi-7e8dbac77ce712846954bdd5f4bfb62b6efaf7df.zip
Fix typo
Diffstat (limited to 'model')
-rw-r--r--model/mlp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/mlp.py b/model/mlp.py
index fc86b7b..2e0b9e5 100644
--- a/model/mlp.py
+++ b/model/mlp.py
@@ -56,7 +56,7 @@ class Stream(object):
stream = TaxiDataset('train')
- if hasattr(self.config, 'use_cuts_for_trainig') and self.config.use_cuts_for_training:
+ if hasattr(self.config, 'use_cuts_for_training') and self.config.use_cuts_for_training:
stream = DataStream(stream, iteration_scheme=TaxiTimeCutScheme())
else:
stream = DataStream(stream, iteration_scheme=ShuffledExampleScheme(stream.num_examples))