diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-02-20 07:23:36 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-02-20 07:23:36 +0100 |
commit | ddf6e00b3b16a07b994107a79450909f43588445 (patch) | |
tree | beb8d4cb2b9de4a20e427fe30caa177599710cb8 /lib/cli.py | |
parent | 8290d9ee20b5d2305c5fd519bf534029f36c30d9 (diff) |
Re-add (very very basic, for now) Symbolic Regression support
Diffstat (limited to 'lib/cli.py')
-rw-r--r-- | lib/cli.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -124,6 +124,10 @@ def print_staticinfo(prefix, info): print(f"{prefix}: {info.value}") +def print_symreginfo(prefix, info): + print(f"{prefix}: {str(info.regressor)}") + + def print_cartinfo(prefix, info): _print_cartinfo(prefix, info.to_json()) @@ -203,6 +207,8 @@ def print_model(prefix, info): print_lmtinfo(prefix, info) elif type(info) is df.XGBoostFunction: print_xgbinfo(prefix, info) + elif type(info) is df.SymbolicRegressionFunction: + print_symreginfo(prefix, info) else: print(f"{prefix}: {type(info)} UNIMPLEMENTED") |