Skip to content

put in version_added label for ARDRegression (and many others): Issue #15426#15482

Closed
alekslovesdata wants to merge 37 commits intoscikit-learn:masterfrom
alekslovesdata:adding_version
Closed

put in version_added label for ARDRegression (and many others): Issue #15426#15482
alekslovesdata wants to merge 37 commits intoscikit-learn:masterfrom
alekslovesdata:adding_version

Conversation

@alekslovesdata
Copy link
Copy Markdown

@alekslovesdata alekslovesdata commented Nov 2, 2019

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Fixes part of Issue #15426

Any other comments?

Many more labels to fix

Circe McDonald and others added 30 commits November 2, 2019 11:37
Copy link
Copy Markdown
Member

@TomDLT TomDLT left a comment

Choose a reason for hiding this comment

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

Thanks a lot for this !
some comments..

class to data once, then keep the instance around to do transformations.


..versionadded:: v0.14
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we usually don't add the v (here and there is your PR)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This branch is a compilation of several different groups, so it looks like some of them put in v for version, but I agree it shouldn't be there. Should I go through and fix the formatting or is there a better process for handling that?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes you should fix them

probas : 2d array, shape (n_samples, K)
The predicted probabilities.

.. versionadded:: 0.20.3
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What is the reason you chose 0.20.3 over 0.20 ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I can change it to 0.20. I have no idea why 20.3 was chosen.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

please do :)

be safely removed using delattr or set to None before pickling.

..versionchanged:: v0.22
Raise warning of parameter choide means the another parameter unused
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am pretty sure we do not want to be that specific, though I don't know what would be a good rule of thumb to pick only the major changes.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Ok I'm going to go through and remove all versionchanged tags, since we were only supposed to put in versionadded (according to the lead developer at our sprint). If we want to add in the versionchanged tags someone should put in a request for that with more details.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sounds good to me

@amueller amueller changed the title put in version_added label for ARDRegression: Issue #15426 put in version_added label for ARDRegression (and many others): Issue #15426 Nov 2, 2019
@@ -0,0 +1,6 @@
Merge branch 'adding_version' of github.com:alekslovesdata/scikit-learn into adding_version
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This file was included in the commit by mistake

Accepts non-finite features
..versionadded:: v0.13

..versionadded:: 0.13
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
..versionadded:: 0.13
.. versionadded:: 0.13


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

.. version:: 0.14
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
.. version:: 0.14
.. versionadded:: 0.14

Warning: This class should not be used directly. Use derived classes
instead.

..versionadded:: 0.18
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
..versionadded:: 0.18
.. versionadded:: 0.18

-------
self : TfidfVectorizer

Raise warning if a parameter choice means that another parameter will be unused on calling the fit() method.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Cleaning left over

Xin Dang, Hanxiang Peng, Xueqin Wang and Heping Zhang
http://home.olemiss.edu/~xdang/papers/MTSE.pdf

..versionadded:: v0.16
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
..versionadded:: v0.16
.. versionadded:: v0.16

max_train_size : int, optional
Maximum size for a single training set.

..versionadded:: 0.19
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
..versionadded:: 0.19
.. versionadded:: 0.19

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be above, in the summary section

with a test set of size ``n_samples//(n_splits + 1)``,
where ``n_samples`` is the number of samples.

..versionadded:: v0.18
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
..versionadded:: v0.18
.. versionadded:: v0.18

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be above, in the summary section

https://nlp.stanford.edu/IR-book/html/htmledition/naive-bayes-text-classification-1.html

..versionadded:: v0.14
..versionchanged:: v0.16
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do you want to keep these versionchanged ?

(Vol. 3, pp. 616-623).
https://people.csail.mit.edu/jrennie/papers/icml03-nb.pdf

..versionadded:: v0.20
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
..versionadded:: v0.20
.. versionadded:: v0.20

@glemaitre
Copy link
Copy Markdown
Member

Closing this PR. We put back the estimator in the pool of the main issue for the next sprint.

@glemaitre glemaitre closed this Jan 9, 2020
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.

6 participants