diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-17 09:10:22 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-17 09:10:22 +0100 |
commit | d95d873995f6ea29d38ca7e26e440d9c8b0a0348 (patch) | |
tree | 04c5a511eab25f1fb23d31c08a63136a6c005ea2 /lib/parameters.py | |
parent | 1851e43ed746af8068e8655934cc8d0ed4b1a914 (diff) |
Disable DFATOOL_DTREE_IGNORE_IRRELEVANT_PARAMS by default
It is not working properly in 95% of cases
Diffstat (limited to 'lib/parameters.py')
-rw-r--r-- | lib/parameters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parameters.py b/lib/parameters.py index 2095031..603e56d 100644 --- a/lib/parameters.py +++ b/lib/parameters.py @@ -923,7 +923,7 @@ class ModelAttribute: def build_fol_model(self): ignore_irrelevant = bool( - int(os.getenv("DFATOOL_DTREE_IGNORE_IRRELEVANT_PARAMS", "1")) + int(os.getenv("DFATOOL_DTREE_IGNORE_IRRELEVANT_PARAMS", "0")) ) ignore_param_indexes = list() if ignore_irrelevant: @@ -1048,7 +1048,7 @@ class ModelAttribute: with_xgboost = bool(int(os.getenv("DFATOOL_USE_XGBOOST", "0"))) if ignore_irrelevant_parameters is None: ignore_irrelevant_parameters = bool( - int(os.getenv("DFATOOL_DTREE_IGNORE_IRRELEVANT_PARAMS", "1")) + int(os.getenv("DFATOOL_DTREE_IGNORE_IRRELEVANT_PARAMS", "0")) ) if loss_ignore_scalar is None: loss_ignore_scalar = bool( |