@@ -1196,6 +1196,7 @@ def __init__(
11961196 all_possible_pairs = True ,
11971197 construction_rules = None ,
11981198 n_feature_parts = 0 ,
1199+ keep_selected_variables_only = True ,
11991200 verbose = False ,
12001201 output_dir = None ,
12011202 auto_sort = True ,
@@ -1213,6 +1214,7 @@ def __init__(
12131214 self .all_possible_pairs = all_possible_pairs
12141215 self .construction_rules = construction_rules
12151216 self .n_feature_parts = n_feature_parts
1217+ self .keep_selected_variables_only = keep_selected_variables_only
12161218 self ._original_target_dtype = None
12171219 self ._predicted_target_meta_data_tag = None
12181220 self ._khiops_baseline_model_prefix = None
@@ -1523,6 +1525,7 @@ def __init__(
15231525 all_possible_pairs = True ,
15241526 construction_rules = None ,
15251527 n_feature_parts = 0 ,
1528+ keep_selected_variables_only = True ,
15261529 verbose = False ,
15271530 output_dir = None ,
15281531 auto_sort = True ,
@@ -1536,6 +1539,7 @@ def __init__(
15361539 all_possible_pairs = all_possible_pairs ,
15371540 construction_rules = construction_rules ,
15381541 n_feature_parts = n_feature_parts ,
1542+ keep_selected_variables_only = keep_selected_variables_only ,
15391543 verbose = verbose ,
15401544 output_dir = output_dir ,
15411545 auto_sort = auto_sort ,
@@ -1703,6 +1707,8 @@ class KhiopsClassifier(ClassifierMixin, KhiopsPredictor):
17031707 group_target_value : bool, default ``False``
17041708 Allows grouping of the target values in classification. It can substantially
17051709 increase the training time.
1710+ keep_selected_variables_only : bool, default ``True``
1711+ Keeps only predictor-selected variables in the supervised analysis report.
17061712 verbose : bool, default ``False``
17071713 If ``True`` it prints debug information and it does not erase temporary files
17081714 when fitting, predicting or transforming.
@@ -1760,6 +1766,7 @@ def __init__(
17601766 construction_rules = None ,
17611767 n_feature_parts = 0 ,
17621768 group_target_value = False ,
1769+ keep_selected_variables_only = True ,
17631770 verbose = False ,
17641771 output_dir = None ,
17651772 auto_sort = True ,
@@ -1773,6 +1780,7 @@ def __init__(
17731780 n_evaluated_features = n_evaluated_features ,
17741781 construction_rules = construction_rules ,
17751782 n_feature_parts = n_feature_parts ,
1783+ keep_selected_variables_only = keep_selected_variables_only ,
17761784 verbose = verbose ,
17771785 output_dir = output_dir ,
17781786 auto_sort = auto_sort ,
@@ -2105,6 +2113,8 @@ class KhiopsRegressor(RegressorMixin, KhiopsPredictor):
21052113 n_feature_parts : int, default 0
21062114 Maximum number of variable parts produced by preprocessing methods. If equal
21072115 to 0 it is automatically calculated.
2116+ keep_selected_variables_only : bool, default ``True``
2117+ Keeps only predictor-selected variables in the supervised analysis report.
21082118 verbose : bool, default ``False``
21092119 If ``True`` it prints debug information and it does not erase temporary files
21102120 when fitting, predicting or transforming.
@@ -2149,6 +2159,7 @@ def __init__(
21492159 n_evaluated_features = 0 ,
21502160 construction_rules = None ,
21512161 n_feature_parts = 0 ,
2162+ keep_selected_variables_only = True ,
21522163 verbose = False ,
21532164 output_dir = None ,
21542165 auto_sort = True ,
@@ -2162,6 +2173,7 @@ def __init__(
21622173 n_evaluated_features = n_evaluated_features ,
21632174 construction_rules = construction_rules ,
21642175 n_feature_parts = n_feature_parts ,
2176+ keep_selected_variables_only = keep_selected_variables_only ,
21652177 verbose = verbose ,
21662178 output_dir = output_dir ,
21672179 auto_sort = auto_sort ,
0 commit comments