From 29eb6f2f9a65a876d6d276594cf6107ce57c29a4 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 22 Jan 2024 13:05:52 +0100 Subject: Add --skip-param-stats support to analyze-{archive,log} --- lib/cli.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib') diff --git a/lib/cli.py b/lib/cli.py index e7551df..89f0106 100644 --- a/lib/cli.py +++ b/lib/cli.py @@ -16,6 +16,9 @@ def sanity_check(args): "--force-tree and DFATOOL_FIT_FOL=1 are mutually exclusive", file=sys.stderr ) sys.exit(1) + if args.skip_param_stats and not args.force_tree: + print("--skip-param-stats requires --force-tree", file=sys.stderr) + sys.exit(1) def print_static(model, static_model, name, attribute, with_dependence=False): @@ -598,6 +601,11 @@ def add_standard_arguments(parser): "ssr : Sum of Squared Residuals\n" "rsq : R² Score", ) + parser.add_argument( + "--skip-param-stats", + action="store_true", + help="Do not compute param stats that are required for RMT. Use this for high-dimensional feature spaces.", + ) parser.add_argument( "--force-tree", action="store_true", -- cgit v1.2.3