Skip to content

Do we want to keep the Passive Agressive estimators? #15161

Closed

Description

@NicolasHug

We support the PassiveAggressive classifier and regressor, which simply are BaseSGD with hinge loss and a specific learning rate schedule (+ some regularization).

I'm wondering whether we actually have a compelling reason to keep them around? Are these estimators useful to anyone?

They are quite poorly documented, and the only examples they're used in are just general benchmark comparison examples.

I feel like if we can't give users an incentive to use an estimator (i.e. in what cases the estimator should perform well), then we have no reason to support it. The UG doesn't do that right now.

Also note that they are apparently sub-optimal #1327


I have no strong opinion, I'm mainly genuinely curious.

We could also just move them to e.g. scikit-learn-extras. But that would be a superficial removal since we would still need to support their specific learning rate schedule as deep as in _fast_sgd().

If we decide to keep them around I'll make a PR to document them because this is really bad right now.

ping maybe @ogrisel and @GaelVaroquaux since you have reviewed the original PR #1259

Activity

  1. GaelVaroquaux commented on Oct 8, 2019

    @GaelVaroquaux
    Member
  2. agramfort commented on Oct 9, 2019

    @agramfort
    Member
  3. haiatn commented on Jul 29, 2023

    @haiatn
    Contributor

    I don't know what users would want to use this, so it is hard to say, but If I understand correctly BaseSGD is a good alternative

  4. adrinjalali commented on Jul 30, 2023

    @adrinjalali
    Member

    I don't think at this point we'd have much of a discussion if somebody opens a PR to deprecate them lol (and I think even @amueller might agree these days lol)

  5. added and removed
    Needs Decision
    on Jul 30, 2023
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