Skip to content

Cache class mapping in MultiLabelBinarizer() #11680

Closed

Description

@kuchenrolle

It has recently been pointed out elsewhere that the MultiLabelBinarizer performs somewhat slow, because the class mapping is created on the fly and not cached. The author has apparently not raised an issue here, so I just wanted to do that for him.

Activity

  1. qinhanmin2014 commented on Jul 31, 2018

    @qinhanmin2014
    Member

    Sounds reasonable. PR welcomed (better with some simple benchmarks).

  2. added
    Easy
    good first issue
    on Jul 31, 2018
  3. added a commit that references this issue on Jul 31, 2018
  4. kiote commented on Jul 31, 2018

    @kiote
    Contributor

    hi! do you mean something like this here? #11719
    if this is it, I can try to add some benchmarks as well

  5. added a commit that references this issue on Oct 8, 2018
    4e2e1fa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Easygood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions