diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-22 13:05:52 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-22 13:05:52 +0100 |
commit | 29eb6f2f9a65a876d6d276594cf6107ce57c29a4 (patch) | |
tree | 8bc82159f4c77d240b5b6e03933890b3fbeebb95 /lib/cli.py | |
parent | 2a8aed73ba35107e35b2343670c01c5f760282b0 (diff) |
Add --skip-param-stats support to analyze-{archive,log}
Diffstat (limited to 'lib/cli.py')
-rw-r--r-- | lib/cli.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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.", |