diff options
author | Vasil Zlatanov <v@skozl.com> | 2018-12-13 16:57:20 +0000 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2018-12-13 16:57:20 +0000 |
commit | a0ae3fb1c5b31de867dbd00f50744500306d03bc (patch) | |
tree | 957e5953a8652f47bb13a5835920e1c535f58312 /opt.py | |
parent | 0b2c847e17c9cb322bead25edeaa4e55d681eab9 (diff) | |
parent | aa3776c51405cef29f48abe0d01164a6f8e8f244 (diff) | |
download | vz215_np1915-a0ae3fb1c5b31de867dbd00f50744500306d03bc.tar.gz vz215_np1915-a0ae3fb1c5b31de867dbd00f50744500306d03bc.tar.bz2 vz215_np1915-a0ae3fb1c5b31de867dbd00f50744500306d03bc.zip |
Merge branch 'master' of skozl.com:e4-pattern
Diffstat (limited to 'opt.py')
-rwxr-xr-x | opt.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ # # usage: opt.py [-h] [-t] [-c] [-k] [-m] [-e] [-r] [-a RERANKA] # [-b RERANKB] [-l RERANKL] [-n NEIGHBORS] [-v] -# [-s SHOWRANK] [-1] [-M MULTRANK] [-C] [DATA] +# [-s SHOWRANK] [-1] [-2] [-M MULTRANK] [-C] [DATA] # [-K KMEAN] [-A] [-P PCA] import matplotlib.pyplot as plt @@ -47,6 +47,7 @@ parser.add_argument("-n", "--neighbors", help="Use customized ranklist size NEIG parser.add_argument("-v", "--verbose", help="Use verbose output", action='store_true') parser.add_argument("-s", "--showrank", help="Save ranklist pics id in a txt file for first SHOWRANK queries", type=int, default = 0) parser.add_argument("-1", "--normalise", help="Normalise features", action='store_true') +parser.add_argument("-2", "--standardise", help="Standardise features", action='store_true') parser.add_argument("-M", "--multrank", help="Run for different ranklist sizes equal to MULTRANK", type=int, default=1) parser.add_argument("-C", "--comparison", help="Compare baseline and improved metric", action='store_true') parser.add_argument("--data", help="Folder containing data", default='data') |