diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-05-08 16:17:55 -0400 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-05-08 16:22:42 -0400 |
commit | d38cee1ceaed486c1ba3bed9271008dc82fde331 (patch) | |
tree | 24d17bfccbcb50e9e43e04f8c599727040e16278 /config | |
parent | 20a1a01cef9d61ce9dd09995f2c811ab5aca2a9d (diff) | |
download | taxi-d38cee1ceaed486c1ba3bed9271008dc82fde331.tar.gz taxi-d38cee1ceaed486c1ba3bed9271008dc82fde331.zip |
Add scaling factor between two costs in joint model
Diffstat (limited to 'config')
-rw-r--r-- | config/joint_simple_mlp_tgtcls_1_cswdtx.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/joint_simple_mlp_tgtcls_1_cswdtx.py b/config/joint_simple_mlp_tgtcls_1_cswdtx.py index f3de40b..74b3c75 100644 --- a/config/joint_simple_mlp_tgtcls_1_cswdtx.py +++ b/config/joint_simple_mlp_tgtcls_1_cswdtx.py @@ -41,6 +41,9 @@ dim_output_dest = len(dest_tgtcls) dim_hidden_time = [] dim_output_time = len(time_tgtcls) +# Cost ratio between distance cost and time cost +time_cost_factor = 4 + embed_weights_init = IsotropicGaussian(0.001) mlp_weights_init = IsotropicGaussian(0.01) mlp_biases_init = Constant(0.001) |