Understanding docstrings #19443
-
For the class
Does this mean predictor returns an Similarly, I am confused about what the documentation of X represents. Is it a 2d matrix or a 1d list or something else? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
should have been
same for the description of 99% of the time, our parameters and return values aren't shapes (100% of the time when it comes to |
Beta Was this translation helpful? Give feedback.
-
Thank you @CheriseCodes for reaching out the We are working on consistency across the documentation.
We had used
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback @NicolasHug @jjerphan @alfaro96 ! |
Beta Was this translation helpful? Give feedback.
X : ndarray, shape (n_samples, n_features)
should have been
X : ndarray of shape (n_samples, n_features)
same for the description of
y
.99% of the time, our parameters and return values aren't shapes (100% of the time when it comes to
X
andy
.)