DOC Ensures that BernoulliRBM passes numpydoc validation#20533
DOC Ensures that BernoulliRBM passes numpydoc validation#20533glemaitre merged 16 commits intoscikit-learn:mainfrom
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.
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.
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?: