Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DEP loss_function_ attribute in PassiveAggressiveClassifier #29088

Copy link
Copy link
Closed
@lorentzenchr

Description

@lorentzenchr
Issue body actions

#27979 deprecate the attribute loss_function_ that accesses a Cython extension class in SGDClassifier and SGDOneClassSVM. Unfortunately, PassiveAggressiveClassifier also inherits the loss_function_ attribute from BaseSGDClassifier and this was overlooked in #27979.

Now, what do we do?

  1. Proper deprecation cycle delaying Plan for SGD and SAGA loss function migration #28049 for another year.
  2. Remove it with 1.6 anyway.
  3. Add the loss function as python function in PassiveAggressiveClassifier only, deprecate and remove in 2 releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.