-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC Minor fixes for parameter documentation in ridge #14453
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
DOC Minor fixes for parameter documentation in ridge #14453
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @alexitkes ! A few comments are below,
Should it be using |
@alexitkes yes I'm pretty sure it is. |
I'd probably wait and follow whatever is the conclusion in #12356 |
boolean -> bool
Remove unnecessary notes about iterable being converted to Numpy array
Document the float/array parameters that are set to None by default.
Make too long lines shorter.
`default None` -> `default=None`
Replace `optional, default=...` docstrings with just `default=...`.
boolean -> bool
fa2272f
to
fcbe53b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments, thanks @alexitkes !
Specify array shape as (n_samples,) instead of [n_samples] Co-Authored-By: Roman Yurchak <rth.yurchak@gmail.com>
Update parameter type description Co-Authored-By: Roman Yurchak <rth.yurchak@gmail.com>
Update parameter type description Co-Authored-By: Roman Yurchak <rth.yurchak@gmail.com>
Update array shape description in parameter documentation Co-Authored-By: Roman Yurchak <rth.yurchak@gmail.com>
Update array shape description Co-Authored-By: Roman Yurchak <rth.yurchak@gmail.com>
Update parameter type documentation Co-Authored-By: Roman Yurchak <rth.yurchak@gmail.com>
Address #14452
alpha
andtol
parameters forRidge
classalpha
,fit_intercept
andtol
parameters forRidgeClassifier
classalphas
parameter forRidgeCV
classalphas
andfit_intercept
parameters forRidgeClassifierCV
class