Skip to content

featurebyte.MissingValueImputation

class MissingValueImputation(
*,
imputed_value: Union[StrictInt, StrictFloat, StrictStr, bool],
type: Literal["missing"]="missing"
)

Description

MissingValueImputation class is used to declare the operation to impute the missing value of a table column.

Parameters

  • imputed_value: Union[StrictInt, StrictFloat, StrictStr, bool]
    Value to fill missing values.

  • type: Literal["missing"]
    default: "missing"


Examples

Create an imputation rule to replace missing value with 0

>>> fb.MissingValueImputation(imputed_value=0)