secretflow.ml.boost.sgb_v.factory.components.data_preprocessor#

Classes:

DataPreprocessor()

class secretflow.ml.boost.sgb_v.factory.components.data_preprocessor.DataPreprocessor[源代码]#

基类:Component

Methods:

__init__()

show_params()

set_params(_)

get_params(_)

set_devices(_)

validate(dataset, label)

__init__() None[源代码]#
show_params()[源代码]#
set_params(_)[源代码]#
get_params(_)[源代码]#
set_devices(_)[源代码]#
validate(dataset, label) Tuple[FedNdarray, Tuple[int, int], PYUObject, Tuple[int, int]][源代码]#

secretflow.ml.boost.sgb_v.factory.components.data_preprocessor.data_preprocessor#

Functions:

prepare_dataset(ds)

check data setting and get total shape.

Classes:

DataPreprocessor()

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__()

show_params()

set_params(_)

get_params(_)

set_devices(_)

validate(dataset, label)

__init__() None[源代码]#
show_params()[源代码]#
set_params(_)[源代码]#
get_params(_)[源代码]#
set_devices(_)[源代码]#
validate(dataset, label) Tuple[FedNdarray, Tuple[int, int], PYUObject, Tuple[int, int]][源代码]#