-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
[MRG] Label docstrings with versionadded #15426 - classes starting with 'p' #15494
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
[MRG] Label docstrings with versionadded #15426 - classes starting with 'p' #15494
Conversation
…n, PLSSVD, PatchExtractor, Pipeline, PowerTransformer, PredefinedSplit (Issue scikit-learn#15426)
@@ -2715,6 +2715,8 @@ class PowerTransformer(TransformerMixin, BaseEstimator): | |||
|
|||
.. [2] G.E.P. Box and D.R. Cox, "An Analysis of Transformations", Journal | |||
of the Royal Statistical Society B, 26, 211-252 (1964). | |||
|
|||
.. versionadded:: 0.19.2 |
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.
Is there a reason you specified 0.19.2 as opposed to 0.19 ?
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 double checked, and it seems to have been added in 0.20, as stated in the doc/whats_new/v0.20.rst
file (here). Where did you find the 0.19.2 mention ?
That was the version specified in the .rst file.
…On Sat, Nov 2, 2019 at 2:41 PM Tom Dupré la Tour ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In sklearn/preprocessing/_data.py
<#15494 (comment)>
:
> @@ -2715,6 +2715,8 @@ class PowerTransformer(TransformerMixin, BaseEstimator):
.. [2] G.E.P. Box and D.R. Cox, "An Analysis of Transformations", Journal
of the Royal Statistical Society B, 26, 211-252 (1964).
+
+ .. versionadded:: 0.19.2
Is there a reason you specified 0.19.2 as opposed to 0.19 ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#15494?email_source=notifications&email_token=AFJINPXKZ2KVCXJSC4ZFTGLQRXXXLA5CNFSM4JIH34UKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCKDENFY#pullrequestreview-310789783>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFJINPXA26XMALAKBHIGAX3QRXXXLANCNFSM4JIH34UA>
.
|
which rst file are you talking about ? |
@@ -634,6 +634,8 @@ class PLSRegression(_PLS): | |||
In french but still a reference: | |||
Tenenhaus, M. (1998). La regression PLS: theorie et pratique. Paris: | |||
Editions Technic. | |||
|
|||
.. versionadded:: 0.8 |
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.
These need to be added after the description, before parameters. Adding it here will be a problem with numpydoc
@rth is it possible to remove the "Needs work" label from this PR since it is now closed? |
I removed the tag |
Reference Issues/PRs
Label docstrings with versionadded #15426
What does this implement/fix? Explain your changes.
Documentation changes - added 'versionadded' to following classes:
PLSCanonical, PLSRegression, PLSSVD, PatchExtractor, Pipeline, PowerTransformer, PredefinedSplit
Any other comments?
Exact versions were identified using the whats_new documentation. If a class was not present in the versions file, the version was extracted from the module creation.