Skip to content

Improve TargetEncoder predict time for single rows and many categories #30952

Open

Description

@lorentzenchr

As reported here, TargetEncoder.transform is optimized for large n_samples. But in deployment mode, it might be single rows that matter. Combined with high cardinality of the categories, transform can be slow, but has room for improvement.

Activity

  1. added
    Needs Triage
    on Mar 6, 2025
  2. glemaitre commented on Mar 7, 2025

    @glemaitre
    Member

    Apparently, we were targeted by the same recommender system :)

    I think that in general, our estimators are not the best when it comes to predict on a stream of data. The validation is usually an additional bottleneck. I'm wondering if we should try to address this issue. If so, I assume that there is a multiple way foreword.

  3. removed
    Needs Triage
    on Mar 13, 2025
  4. gautamvarmadatla commented on Oct 4, 2025

    @gautamvarmadatla
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