summaryrefslogtreecommitdiff
path: root/lib/cli.py
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-01-22 13:05:52 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-01-22 13:05:52 +0100
commit29eb6f2f9a65a876d6d276594cf6107ce57c29a4 (patch)
tree8bc82159f4c77d240b5b6e03933890b3fbeebb95 /lib/cli.py
parent2a8aed73ba35107e35b2343670c01c5f760282b0 (diff)
Add --skip-param-stats support to analyze-{archive,log}
Diffstat (limited to 'lib/cli.py')
-rw-r--r--lib/cli.py8
1 files changed, 8 insertions, 0 deletions
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):
@@ -599,6 +602,11 @@ def add_standard_arguments(parser):
"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",
help="Build regression tree without checking whether static/analytic functions are sufficient.",