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

Skip to content

power_t: does it make sense for this parameter to have negative values #22178

Closed
@reshamas

Description

@reshamas

sklearn/linear_model/_stochastic_gradient.py

Ref #22115

I do not anticipate negative power_t to be mathematically meaningful but apparently our code accepts it without crashing... So ok with documenting it.

Originally posted by @ogrisel in #22115 (comment)

@thomasjpfan

I feel like this a case where documenting -inf will lead to more people trying out. If this is not mathematically meaningful, then we could be promoting a bad practice?

cc: @glemaitre

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