Skip to content

max_iter documentation seems wrong in LogisticRegression #13274

@GaelVaroquaux

Description

@GaelVaroquaux

It seems that the documentation for max_iter is wrong in the docstring of LogisticRegression: the documentation claims that the parameter is not passed to saga and liblinear.

max_iter is clearly passed to saga.
From a cursory look at the code, it seems that it is also passed to liblinear.

The documentation should be fixed, including checking what liblinear actually does, and maybe a test should be written.

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