Skip to content

Add MissingIndicator convenience into SimpleImputer #12294

Closed

Description

@amueller

Following up on #8075 I think we should have a convenience option to add MissingIndicator to SimpleImputer without having to build a FeatureUnion or ColumnTransformer.

Activity

  1. jnothman commented on Oct 5, 2018

    @jnothman
    Member

    Such as an append_indicators parameter?

  2. amueller commented on Oct 5, 2018

    @amueller
    MemberAuthor

    @jnothman yes, that's what I was thinking. Do you agree?

  3. jnothman commented on Oct 6, 2018

    @jnothman
    Member
  4. thomasjpfan commented on Nov 2, 2018

    @thomasjpfan
    Member

    To have full control over the missing indicators, features and error_on_new would need to be added to SimpleImputer. Would this create too much bloat to the SimpleImputer API?

  5. jnothman commented on Nov 5, 2018

    @jnothman
    Member

    To have full control over the missing indicators, features and error_on_new would need to be added to SimpleImputer. Would this create too much bloat to the SimpleImputer API?

    We could consider allowing append_indicators=[feature1, feature2] but I think that's excessive for an initial implementation.

  6. jeremiedbb commented on Dec 18, 2018

    @jeremiedbb
    Member

    There's already #12583

  7. jnothman commented on Dec 18, 2018

    @jnothman
    Member

    It is a duplicate.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions