Skip to content

AutoFeaturizer puts ReplacingMissingValue transformer to boolean column #6291

Closed

Description

The root cause is InferColumn API also infer a boolean column's column purpose as numeric. Which in some way makes sense as there's a direct way of mapping boolean to numeric.

While in AutoFeaturizer API, it always put a ReplacingMissingValue transformer to numeric feature. This usually works if a column has numeric type. But when it comes to boolean type, ReplacingMissingValue won't work any more as there's no Default NA value for a boolean type.

The fix for this issue is in AutoFeaturizer, check if a column with numeric purpose is boolean type or not, if it is boolean, then use ConvertType transformer instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions