-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
DOC improve svm module docstring per guidlines #16060
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
Conversation
svm
module docstring per guidlines
@tituschristian CIs are failing due to some PEP8 issue probably. Could you check that. |
Updated. |
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.
I pushed some changes to correct when you introduced array-like
instead of ndarray
.
Basically, array-like
can be several types (list, array, etc.) then a return type cannot be a array-like but will be a specific numpy array (ndarray
).
Otherwise, LGTM. I am going to merge it.
@tituschristian Thanks for contributing. |
@glemaitre Thanks for your feedback. |
Reference Issues/PRs
Improve
sklearn/svm
module per guidlines https://scikit-learn.org/stable/developers/contributing.html#guidelines-for-writing-documentationSee also #15761