-
-
Notifications
You must be signed in to change notification settings - Fork 25.5k
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 BernoulliRBM passes numpydoc validation #20533
Conversation
sklearn/neural_network/_rbm.py
Outdated
>>> model = BernoulliRBM(n_components=2) | ||
>>> model.fit(X) | ||
BernoulliRBM(n_components=2) | ||
gibbs: Gibbs sampling step. |
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.
Here we should document some public functions or public classes. gibbs
is a method of the estimator so it would not fit here. However, I am not sure which public class to document here. @ogrisel Do you think that it makes sense to add any manifold learning method or a PCA?
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.
So MLPClassifier/MLPRegressor and PCA are good candidates.
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
@glemaitre Can we specify the range of values that |
Yes we can add information about the range. However, it should be in the description and not in the line of the data type. |
@glemaitre I looked at the tests and I am not understanding why they are failing. |
It seems unrelated because it is the |
I merge with |
…n#20533) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Reference Issues/PRs
Addresses #20308
What does this implement/fix? Explain your changes.
Fixes numpydoc errors on BernouilliRBM functions
Any other comments?
#DataUmbrella LATAM sprint
Question
For
verbose
, it is currently what is below. What are the possible options forverbose
, the range of integer values that it can take?: