-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
DOC Ensures that RandomForestRegressor passes numpydoc validation #20401
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 Ensures that RandomForestRegressor passes numpydoc validation #20401
Conversation
@alinealfa thanks for the contribution. Unfortunately there was a change to the same file that was concurrent merged in the
|
@@ -615,6 +615,13 @@ def feature_importances_(self): | |||
) | |||
@property | |||
def n_features_(self): | |||
"""Number of features when fitting the estimator. |
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 open #20414 to check the issue with sphinx and as well to discuss property formatting. We can wait to see how do we want to format property.
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 think there is no problem with docstring.
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. Thanks @alinealfa!
…ikit-learn#20401) Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Reference Issues/PRs
Addresses #20308
What does this implement/fix? Explain your changes.
Fixes numpydoc errors on RandomForestRegressor
Any other comments?
Compare #20383
#DataUmbrella #sprint
cc. @marenwestermann