diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-10 13:24:33 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-10 13:24:33 +0100 |
commit | e77adfcc3cc0a173108aa182ed7f71a5be7e5408 (patch) | |
tree | 082f6ee94dbed25c6ad61eadac5b307ca77fd096 /lib | |
parent | 5c250aaf3959f525a01a25b583a867cf48e9fdf8 (diff) |
show-model=param: fix cart thresholds
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -108,12 +108,12 @@ def _print_cartinfo(prefix, model, feature_names): print(f"""{prefix}: {model["value"]}""") else: _print_cartinfo( - f"""{prefix} {model["paramName"]}<{model["paramDecisionValue"]} """, + f"""{prefix} {model["paramName"]}≤{model["paramDecisionValue"]} """, model["left"], feature_names, ) _print_cartinfo( - f"""{prefix} {model["paramName"]}≥{model["paramDecisionValue"]} """, + f"""{prefix} {model["paramName"]}>{model["paramDecisionValue"]} """, model["right"], feature_names, ) |