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

Classes:

DataPreprocessor()

class secretflow.ml.boost.sgb_v.factory.components.data_preprocessor.DataPreprocessor[source]#

Bases: Component

Methods:

__init__()

show_params()

set_params(_)

get_params(_)

set_devices(_)

validate(dataset, label)

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

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]][source]#

check data setting and get total shape.

Parameters:

ds – input dataset

Returns:

dataset in unified type Second: shape concat all partition.

Return type:

First

class secretflow.ml.boost.sgb_v.factory.components.data_preprocessor.data_preprocessor.DataPreprocessor[source]#

Bases: Component

Methods:

__init__()

show_params()

set_params(_)

get_params(_)

set_devices(_)

validate(dataset, label)

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