FATE icon indicating copy to clipboard operation
FATE copied to clipboard

The feature binning method:if this module have to be run,bin_indexes and bin_names is [].so have the ERROR.

Open KagerJin opened this issue 3 years ago • 1 comments
trafficstars

[ERROR] [2022-08-03 15:03:02,609] [202208031501390085770] [2852:4727107008] - [task_executor.run] [line:243]: 'x9' Traceback (most recent call last): File "../FATE-1.7.2/python/fate_flow/worker/task_executor.py", line 195, in run cpn_output = run_object.run(cpn_input) File "../FATE-1.8.0/python/federatedml/model_base.py", line 236, in run self._run(cpn_input=cpn_input) File "../FATE-1.8.0/python/federatedml/model_base.py", line 311, in _run this_data_output = func(*real_param) File "../FATE-1.8.0/python/federatedml/feature/hetero_feature_selection/base_feature_selection.py", line 353, in fit self._filter(data_instances, method, suffix=str(filter_idx)) File "../FATE-1.8.0/python/federatedml/feature/hetero_feature_selection/base_feature_selection.py", line 277, in _filter self.curt_select_properties = this_filter.fit(data_instances, suffix).selection_properties File "../FATE-1.8.0/python/federatedml/feature/feature_selection/iso_model_filter.py", line 157, in fit self._guest_fit(suffix) File "../FATE-1.8.0/python/federatedml/feature/feature_selection/iv_filter.py", line 79, in _guest_fit self._fix_with_value_obj(value_obj, suffix) File "../FATE-1.8.0/python/federatedml/feature/feature_selection/iso_model_filter.py", line 171, in _fix_with_value_obj all_feature_values = value_obj.get_partial_values(self.selection_properties.select_col_names) File "../FATE-1.8.0/python/federatedml/feature/feature_selection/model_adapter/isometric_model.py", line 104, in get_partial_values col_indices = [col_name_map[x] for x in select_col_names] File "../FATE-1.8.0/python/federatedml/feature/feature_selection/model_adapter/isometric_model.py", line 104, in col_indices = [col_name_map[x] for x in select_col_names] KeyError: 'x9'

KagerJin avatar Aug 15 '22 09:08 KagerJin

If you want to use binning as a filter in selection component ,make sure that all selecting feature columns should be included in binning component's iv calculating process.

mgqa34 avatar Aug 16 '22 11:08 mgqa34

This issue has been marked as stale because it has been open for 365 days with no activity. If this issue is still relevant or if there is new information, please feel free to update or reopen it.

github-actions[bot] avatar Jul 09 '24 06:07 github-actions[bot]