Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BaseSGD should not warn quite so often #9752

@jnothman

Description

@jnothman

Because of some strange legacy validation in init (and set_params) as well as in fit and partial_fit (probably excessive in any case), the FutureWarning in BaseSGD is repeated when warn='always' is used. The FutureWarning should only be issued in uses of fit and partial_fit, and not during __init__ or set_params.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EasyWell-defined and straightforward way to resolve

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions