diff options
author | nunzip <np.scarh@gmail.com> | 2018-12-10 02:37:21 +0000 |
---|---|---|
committer | nunzip <np.scarh@gmail.com> | 2018-12-10 02:37:21 +0000 |
commit | 73b3f57c7059656d16c361dc4565e9d6af485c87 (patch) | |
tree | 144260465b0be755c258536439c88b9a2c781b64 | |
parent | 090dd1eebc60fbbad5c687ece1aac0782713636f (diff) | |
download | vz215_np1915-73b3f57c7059656d16c361dc4565e9d6af485c87.tar.gz vz215_np1915-73b3f57c7059656d16c361dc4565e9d6af485c87.tar.bz2 vz215_np1915-73b3f57c7059656d16c361dc4565e9d6af485c87.zip |
Change lamda float
-rwxr-xr-x | evaluate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/evaluate.py b/evaluate.py index 9218649..7a5e3ca 100755 --- a/evaluate.py +++ b/evaluate.py @@ -44,7 +44,7 @@ parser.add_argument("-e", "--euclidean", help="Standard euclidean", action='stor parser.add_argument("-r", "--rerank", help="Use k-reciprocal rernaking", action='store_true') parser.add_argument("-p", "--reranka", help="Parameter 1 for Rerank", type=int, default = 11) parser.add_argument("-q", "--rerankb", help="Parameter 2 for rerank", type=int, default = 3) -parser.add_argument("-l", "--rerankl", help="Coefficient to combine distances", type=int, default = 0.3) +parser.add_argument("-l", "--rerankl", help="Coefficient to combine distances", type=float, default = 0.3) parser.add_argument("-n", "--neighbors", help="Number of neighbors", type=int, default = 1) parser.add_argument("-v", "--verbose", help="Use verbose output", action='store_true') parser.add_argument("-s", "--showrank", help="Save ranklist pic id in a txt file", type=int, default = 0) |