Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC Add versionchanged and versionadded for v0.20 #16199

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

Merged
merged 102 commits into from
Apr 26, 2020

Conversation

borovikova
Copy link
Contributor

@borovikova borovikova commented Jan 25, 2020

Towards to #15426

This PR will add versionchanged and versionadded label to parameters changed in v0.20

With @ellenkoenig

@WiMLDS_Berlin
@adrinjalali
@noatamir

@borovikova borovikova changed the title [WIP] Add versionchanged to OneVsRestClassifier [WIP] Add versionchanged and versionadded for v0.20 Jan 25, 2020
@borovikova borovikova changed the title [WIP] Add versionchanged and versionadded for v0.20 [WIP] Add versionchanged and versionadded for v0.20.0 Jan 25, 2020
@borovikova borovikova changed the title Add versionchanged and versionadded for v0.20 [MRG] Add versionchanged and versionadded for v0.20 Mar 30, 2020
@noatamir
Copy link
Contributor

@borovikova let me know if you need help finishing those last two features 😃 I just finished my PR for documenting v.19 changes and would be happy to pair remotely

@borovikova
Copy link
Contributor Author

@noatamir Thanks! But I have finished those so now there is nothing to do. At least until the PR is reviewed :-D

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @borovikova @ellenkoenig, this will be useful

Made a few comments but this looks good in general.
Are you available to address these? You'll also need to merge with master.

Thanks for your patience!

borovikova and others added 8 commits April 25, 2020 09:15
…vikova/scikit-learn into version20-docstrings
…into version20-docstrings

� Conflicts:
�	sklearn/linear_model/_stochastic_gradient.py
�	sklearn/model_selection/_search.py
�	sklearn/multiclass.py
�	sklearn/neighbors/_kde.py
@borovikova borovikova changed the title [MRG] Add versionchanged and versionadded for v0.20 [WIP] Add versionchanged and versionadded for v0.20 Apr 25, 2020
@borovikova
Copy link
Contributor Author

@NicolasHug Thanks for the review! Everything is done except for that one case where I'm not sure what to do.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to you both, nice work!

@cmarmo if you're available to review this one, I think we would be OK to merge it after your approval

@NicolasHug NicolasHug changed the title [WIP] Add versionchanged and versionadded for v0.20 [MRG] Add versionchanged and versionadded for v0.20 Apr 25, 2020
Copy link
Contributor

@cmarmo cmarmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your work and your patience @borovikova

Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise lgtm, thanks @borovikova!

@@ -179,6 +180,8 @@ def predict(self, X):
-------
is_inlier : ndarray of shape (n_samples,)
Returns -1 for anomalies/outliers and +1 for inliers.

.. versionadded:: 0.20
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this indent is valid in this context

@@ -561,6 +561,9 @@ class GraphicalLassoCV(GraphicalLasso):
``-1`` means using all processors. See :term:`Glossary <n_jobs>`
for more details.

..versionchanged:: v0.20
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space after .. please

@@ -561,6 +561,9 @@ class GraphicalLassoCV(GraphicalLasso):
``-1`` means using all processors. See :term:`Glossary <n_jobs>`
for more details.

..versionchanged:: v0.20
`n_jobs` changed from ``1`` to ``None``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this level of detailed annotation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry I'm not sure I understand what you mean. Shall I remove the versionchanged docstring here?

@@ -603,8 +605,6 @@ class OrdinalEncoder(_BaseEncoder):

Read more in the :ref:`User Guide <preprocessing_categorical_features>`.

.. versionchanged:: 0.20.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should note when OrdinalEncoder was added but maybe that's intentionality left for another pull request?

"""Print useful debugging information"""
"""Print useful debugging information"

.. versionadded:: 0.20
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please outdent this

@NicolasHug
Copy link
Member

Joel's comments have been addressed, merging

Thanks again @borovikova @ellenkoenig, and @cmarmo for the review

@NicolasHug NicolasHug changed the title [MRG] Add versionchanged and versionadded for v0.20 DOC Add versionchanged and versionadded for v0.20 Apr 26, 2020
@NicolasHug NicolasHug merged commit 4755ae7 into scikit-learn:master Apr 26, 2020
gio8tisu pushed a commit to gio8tisu/scikit-learn that referenced this pull request May 15, 2020
Co-Authored-By: Adrin Jalali <[email protected]>
Co-Authored-By: Chiara Marmo <[email protected]>
Co-Authored-By: Nicolas Hug <[email protected]>
viclafargue pushed a commit to viclafargue/scikit-learn that referenced this pull request Jun 26, 2020
Co-Authored-By: Adrin Jalali <[email protected]>
Co-Authored-By: Chiara Marmo <[email protected]>
Co-Authored-By: Nicolas Hug <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants