From d95d873995f6ea29d38ca7e26e440d9c8b0a0348 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 17 Jan 2024 09:10:22 +0100 Subject: Disable DFATOOL_DTREE_IGNORE_IRRELEVANT_PARAMS by default It is not working properly in 95% of cases --- lib/parameters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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( -- cgit v1.2.3