-
-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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 consistency fixes in multiclass estimators docstring #25226
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 for the PR!
sklearn/multiclass.py
Outdated
Input data. | ||
|
||
Returns | ||
------- | ||
T : (sparse) array-like of shape (n_samples, n_classes) | ||
T : {array-like, sparse matrix} of shape (n_samples, n_classes) |
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 do not think the output of this method can be sparse.
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
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.
LGTM
Fixes:
term
{array-like, sparse matrix}
for consistency with other estimatorsSee Also
sections consistent