secretflow.ml.boost.sgb_v.factory.components.data_preprocessor#
Classes:
- class secretflow.ml.boost.sgb_v.factory.components.data_preprocessor.DataPreprocessor[源代码]#
- 基类: - Component- Methods: - __init__()- set_params(_)- get_params(_)- set_devices(_)- validate(dataset, label)- validate(dataset, label) Tuple[FedNdarray, Tuple[int, int], PYUObject, Tuple[int, int]][源代码]#
 
secretflow.ml.boost.sgb_v.factory.components.data_preprocessor.data_preprocessor#
Functions:
| 
 | check data setting and get total shape. | 
Classes:
- secretflow.ml.boost.sgb_v.factory.components.data_preprocessor.data_preprocessor.prepare_dataset(ds: Union[FedNdarray, VDataFrame]) Tuple[FedNdarray, Tuple[int, int]][源代码]#
- check data setting and get total shape. - 参数:
- ds – input dataset 
- 返回:
- dataset in unified type Second: shape concat all partition. 
- 返回类型:
- First 
 
- class secretflow.ml.boost.sgb_v.factory.components.data_preprocessor.data_preprocessor.DataPreprocessor[源代码]#
- 基类: - Component- Methods: - __init__()- set_params(_)- get_params(_)- set_devices(_)- validate(dataset, label)- validate(dataset, label) Tuple[FedNdarray, Tuple[int, int], PYUObject, Tuple[int, int]][源代码]#