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

Skip to content

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

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

Closed

Conversation

alekslovesdata
Copy link

@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

CirceMcD and others added 30 commits November 2, 2019 11:37
Copy link
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..

@@ -113,7 +113,8 @@ class TruncatedSVD(TransformerMixin, BaseEstimator):
sign of the ``components_`` and the output from transform depend on the
algorithm and random state. To work around this, fit instances of this
class to data once, then keep the instance around to do transformations.


..versionadded:: v0.14
Copy link
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
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
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

@@ -527,6 +527,8 @@ def _raw_prediction_to_proba(self, raw_predictions):
-------
probas : 2d array, shape (n_samples, K)
The predicted probabilities.

.. versionadded:: 0.20.3
Copy link
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
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
Member

Choose a reason for hiding this comment

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

please do :)

@@ -979,6 +979,17 @@ class CountVectorizer(_VectorizerMixin, BaseEstimator):
The ``stop_words_`` attribute can get large and increase the model size
when pickling. This attribute is provided only for introspection and can
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
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
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
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
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
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

@@ -189,6 +189,8 @@ class SpectralCoclustering(BaseSpectral):

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

.. version:: 0.14
Copy link
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

@@ -187,6 +187,8 @@ class BaseBagging(BaseEnsemble, metaclass=ABCMeta):

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

..versionadded:: 0.18
Copy link
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

@@ -1775,6 +1777,8 @@ def fit(self, raw_documents, y=None):
Returns
-------
self : TfidfVectorizer

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

Choose a reason for hiding this comment

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

Cleaning left over

@@ -291,6 +291,8 @@ class TheilSenRegressor(RegressorMixin, LinearModel):
- Theil-Sen Estimators in a Multiple Linear Regression Model, 2009
Xin Dang, Hanxiang Peng, Xueqin Wang and Heping Zhang
http://home.olemiss.edu/~xdang/papers/MTSE.pdf

..versionadded:: v0.16
Copy link
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

@@ -759,6 +763,8 @@ class TimeSeriesSplit(_BaseKFold):
max_train_size : int, optional
Maximum size for a single training set.

..versionadded:: 0.19
Copy link
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
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

@@ -784,6 +790,8 @@ class TimeSeriesSplit(_BaseKFold):
+ n_samples % (n_splits + 1)`` in the ``i``th split,
with a test set of size ``n_samples//(n_splits + 1)``,
where ``n_samples`` is the number of samples.

..versionadded:: v0.18
Copy link
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
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

@@ -746,6 +746,12 @@ class MultinomialNB(BaseDiscreteNB):
C.D. Manning, P. Raghavan and H. Schuetze (2008). Introduction to
Information Retrieval. Cambridge University Press, pp. 234-265.
https://nlp.stanford.edu/IR-book/html/htmledition/naive-bayes-text-classification-1.html

..versionadded:: v0.14
..versionchanged:: v0.16
Copy link
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 ?

@@ -851,6 +857,8 @@ class ComplementNB(BaseDiscreteNB):
Tackling the poor assumptions of naive bayes text classifiers. In ICML
(Vol. 3, pp. 616-623).
https://people.csail.mit.edu/jrennie/papers/icml03-nb.pdf

..versionadded:: 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.

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

@glemaitre
Copy link
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.

7 participants