You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by na...@apache.org on 2017/07/05 21:12:32 UTC

systemml git commit: [MINOR] Available families and algorithms printed from perftest script

Repository: systemml
Updated Branches:
  refs/heads/master 82ca13d23 -> 33cb26ded


[MINOR] Available families and algorithms printed from perftest script


Project: http://git-wip-us.apache.org/repos/asf/systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/33cb26de
Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/33cb26de
Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/33cb26de

Branch: refs/heads/master
Commit: 33cb26ded9d28786159aba0d235db7ec25a442a5
Parents: 82ca13d
Author: Nakul Jindal <na...@gmail.com>
Authored: Wed Jul 5 13:59:35 2017 -0700
Committer: Nakul Jindal <na...@gmail.com>
Committed: Wed Jul 5 14:12:15 2017 -0700

----------------------------------------------------------------------
 scripts/perftest/python/run_perftest.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/systemml/blob/33cb26de/scripts/perftest/python/run_perftest.py
----------------------------------------------------------------------
diff --git a/scripts/perftest/python/run_perftest.py b/scripts/perftest/python/run_perftest.py
index 1421c2c..6b8b4bc 100755
--- a/scripts/perftest/python/run_perftest.py
+++ b/scripts/perftest/python/run_perftest.py
@@ -264,9 +264,10 @@ if __name__ == '__main__':
 
     # Argparse Module
     cparser = argparse.ArgumentParser(description='SystemML Performance Test Script')
-    cparser.add_argument('--family', help='specify class of algorithms (e.g regression, binomial)',
+    cparser.add_argument('--family', help='specify class of algorithms (available : ' + ', '.join(ML_ALGO.keys()) + ')',
                          metavar='', choices=ML_ALGO.keys(), nargs='+')
-    cparser.add_argument('--algo', help='specify the type of algorithm to run (Overrides --family)', metavar='',
+    cparser.add_argument('--algo', help='specify the type of algorithm to run '
+                         '(Overrides --family, available : ' + ', '.join(all_algos) + ')', metavar='',
                          choices=all_algos, nargs='+')
 
     cparser.add_argument('--exec-type', default='singlenode', help='System-ML backend '