From 0a71765565b2c00f3b1c8ace9caef60b55d1d828 Mon Sep 17 00:00:00 2001 From: nunzip Date: Thu, 13 Dec 2018 16:53:43 +0000 Subject: Add standardisation --- opt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opt.py') diff --git a/opt.py b/opt.py index 873b14d..6175aaa 100755 --- a/opt.py +++ b/opt.py @@ -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') -- cgit v1.2.3-54-g00ecf