-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
[MRG] DOC add versionadded versionchanged v0.19 #16233
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] DOC add versionadded versionchanged v0.19 #16233
Conversation
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.
The other changes in that changelog were already covered @noatamir ?
Hi @adrinjalali, so far yes. I'm half-way through checking them all and will finish the rest of the list this Saturday. Thanks for the follow-up. |
Maybe @jnothman could have a look? One approval already and failing checks unrelated to changes. Thanks! |
Towards scikit-learn#15426 @adrinjalali #wimlds #scikitlearnsprint
@adrinjalali please review new changes |
You have some linter issues @noatamir :) |
of course I do! thanks for catching them, I'll double check.. |
@adrinjalali can you check again please? |
Hi @noatamir there are still some lines longer than 79 characters. |
Alternatively, you could run |
Only one of my files has a flake8 error now, and it's in the code, not where I added docstrings.
Ah just saw @adrinjalali comment. I'll try that too. |
passed lint. Let me know if there's any other issue. Thanks for the pointers! |
@cmarmo I can't easily figure the indentation issue here. Is it the same issue as the other PR we had? |
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.
Apart those minor comments. Thanks @noatamir for your work.
@@ -143,6 +143,8 @@ class LatentDirichletAllocation(TransformerMixin, BaseEstimator): | |||
---------- | |||
n_components : int, optional (default=10) | |||
Number of topics. | |||
.. versionchanged:: 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.
.. versionchanged:: 0.19 | |
.. versionchanged:: 0.19 |
This change will fix the sphinx warning.
@@ -68,6 +68,9 @@ class FeatureHasher(TransformerMixin, BaseEstimator): | |||
When True, an alternating sign is added to the features as to | |||
approximately conserve the inner product in the hashed space even for | |||
small n_features. This approach is similar to sparse random projection. | |||
.. versionchanged:: 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.
.. versionchanged:: 0.19 | |
.. versionchanged:: 0.19 |
just for consistency
@@ -629,6 +633,9 @@ def decision_function(self, X): | |||
Returns | |||
------- | |||
Y : array-like of shape (n_samples, n_classes) | |||
.. versionchanged:: 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.
.. versionchanged:: 0.19 | |
.. versionchanged:: 0.19 |
just for consistency
.gitignore
Outdated
@@ -230,3 +230,4 @@ sklearn/feature_selection/mutual_info.py | |||
sklearn/feature_selection/rfe.py | |||
sklearn/feature_selection/univariate_selection.py | |||
sklearn/feature_selection/variance_threshold.py | |||
Pipfile |
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.
Could you please remove Pipfile
from .gitignore
? The file is created by your virtual environment. To avoid this problem you can create the virtual environment files outside the development directory.
Hi @noatamir, hope you are fine ... one approval already for this PR. Maybe you can find some time to fix the last issues so it can be merged? |
@cmarmo Thanks for the detailed comments. I made all the changes you mentioned. Please excuse the late reply, I was a bit derailed by COVID-19. |
No worries, we are all a bit derailed those days... CI is failing as reported in #16545: syncing with master will solve the problem. |
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.
Thank you for the PR @noatamir !
Co-Authored-By: Thomas J Fan <[email protected]>
Co-Authored-By: Thomas J Fan <[email protected]>
Hi @noatamir , could you please sync with upstream/master? This will fix the failing CI. Thanks a lot! |
…with_versionadded_versionchanged_for_v0.19
@cmarmo done =) |
Thanks @noatamir! All green! Maybe @NicolasHug is listening? This PR is ready to merge I think... |
* added v0.19.1 and wip v0.19 * finished adding vchanged strings for v0.19 Towards scikit-learn#15426 @adrinjalali #wimlds #scikitlearnsprint * fixing linter issues * caught line issues with flake8 * caught the last line issue * added lines and cleaned gtiignore * Update sklearn/multiclass.py Co-Authored-By: Thomas J Fan <[email protected]> * Update sklearn/multiclass.py Co-Authored-By: Thomas J Fan <[email protected]> Co-authored-by: Thomas J Fan <[email protected]>
Towards #15426
finished v0.19.1 (added as main version v0.19 as per Adrin's advice), still working through v0.19
@adrinjalali #wimlds #scikitlearnsprint