diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-10 09:41:50 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-10 09:41:50 +0100 |
commit | 5adc39c8de1fbda6e1ba9abcaaaf17516eb046ae (patch) | |
tree | f52dbe13e5cf9fa70f38a8d0e8d75020856ce781 /bin/analyze-log.py | |
parent | 72fc17a4dcff42bedb21b456f7da63065a72fd9f (diff) |
--show-model=param: add CART support
Diffstat (limited to 'bin/analyze-log.py')
-rwxr-xr-x | bin/analyze-log.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/analyze-log.py b/bin/analyze-log.py index 8171cbb..b1dc6ba 100755 --- a/bin/analyze-log.py +++ b/bin/analyze-log.py @@ -229,6 +229,10 @@ def main(): info = param_info(name, attribute) if type(info) is df.AnalyticFunction: dfatool.cli.print_analyticinfo(f"{name:10s} {attribute:15s}", info) + elif type(info) is df.CARTFunction: + dfatool.cli.print_cartinfo( + f"{name:10s} {attribute:15s}", info, model.parameters + ) elif type(info) is df.SplitFunction: dfatool.cli.print_splitinfo( model.parameters, info, f"{name:10s} {attribute:15s}" |