-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Make penalty
parameter consistent for None
#23749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
The test can be easily handled by the common validation parameter if we decorate properly the estimator. |
I'd just accept |
So it means that we would deprecate and ask to use |
I'm okay with the deprecation here and go with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are inconsistent with the
penalty
parameter for the linear models.For the SGD and Perceptron, we will accept
penalty=None
while this is not the case inLogisticRegression
. InLogisticRegression
, we must provide the string'none'
.I assume we could make everything consistent by accepting both
None
and'none'
.@jeremiedbb WDYT?
The text was updated successfully, but these errors were encountered: