Skip to content

LogisticRegression does not have a solver for multi_class='multinomial' and penalty='l1' #8797

@alexlenail

Description

@alexlenail

Description

  • The solvers are {newton-cg, lbfgs, liblinear, sag}, default: liblinear
  • Only liblinear supports L1 penalty
  • multi_class='multinomial' "Works only for the newton-cg, sag and lbfgs solvers."

http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html

I'm not an expert... Would it be possible to add L1 to any of these other solvers or is that mathematically impossible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions