put in version_added label for ARDRegression (and many others): Issue #15426#15482
put in version_added label for ARDRegression (and many others): Issue #15426#15482alekslovesdata wants to merge 37 commits intoscikit-learn:masterfrom
Conversation
Tversions
This reverts commit ef7d51f.
This reverts commit 56226ec.
…it-learn into version_docstrings
Version docstrings
…roupOut, LeavePGroupsOut: Issue scikit-learn#15426
Add versionadded and versionchanged docstrings
…rn into adding_version Merging my work with the other group's so that our versionadded labels all get added at the same time.
TomDLT
left a comment
There was a problem hiding this comment.
Thanks a lot for this !
some comments..
| class to data once, then keep the instance around to do transformations. | ||
|
|
||
|
|
||
| ..versionadded:: v0.14 |
There was a problem hiding this comment.
I think we usually don't add the v (here and there is your PR)
There was a problem hiding this comment.
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?
sklearn/ensemble/_gb_losses.py
Outdated
| probas : 2d array, shape (n_samples, K) | ||
| The predicted probabilities. | ||
|
|
||
| .. versionadded:: 0.20.3 |
There was a problem hiding this comment.
What is the reason you chose 0.20.3 over 0.20 ?
There was a problem hiding this comment.
I can change it to 0.20. I have no idea why 20.3 was chosen.
sklearn/feature_extraction/text.py
Outdated
| be safely removed using delattr or set to None before pickling. | ||
|
|
||
| ..versionchanged:: v0.22 | ||
| Raise warning of parameter choide means the another parameter unused |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
| @@ -0,0 +1,6 @@ | |||
| Merge branch 'adding_version' of github.com:alekslovesdata/scikit-learn into adding_version | |||
There was a problem hiding this comment.
This file was included in the commit by mistake
| Accepts non-finite features | ||
| ..versionadded:: v0.13 | ||
|
|
||
| ..versionadded:: 0.13 |
There was a problem hiding this comment.
| ..versionadded:: 0.13 | |
| .. versionadded:: 0.13 |
|
|
||
| Read more in the :ref:`User Guide <spectral_coclustering>`. | ||
|
|
||
| .. version:: 0.14 |
There was a problem hiding this comment.
| .. version:: 0.14 | |
| .. versionadded:: 0.14 |
| Warning: This class should not be used directly. Use derived classes | ||
| instead. | ||
|
|
||
| ..versionadded:: 0.18 |
There was a problem hiding this comment.
| ..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. |
| Xin Dang, Hanxiang Peng, Xueqin Wang and Heping Zhang | ||
| http://home.olemiss.edu/~xdang/papers/MTSE.pdf | ||
|
|
||
| ..versionadded:: v0.16 |
There was a problem hiding this comment.
| ..versionadded:: v0.16 | |
| .. versionadded:: v0.16 |
| max_train_size : int, optional | ||
| Maximum size for a single training set. | ||
|
|
||
| ..versionadded:: 0.19 |
There was a problem hiding this comment.
| ..versionadded:: 0.19 | |
| .. versionadded:: 0.19 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
| ..versionadded:: v0.18 | |
| .. versionadded:: v0.18 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
| ..versionadded:: v0.20 | |
| .. versionadded:: v0.20 |
|
Closing this PR. We put back the estimator in the pool of the main issue for the next sprint. |
Reference Issues/PRs
What does this implement/fix? Explain your changes.
Fixes part of Issue #15426
Any other comments?
Many more labels to fix