Skip to content

[MRG + 1] Version Added for All Classes in 0.17 - #5511

Merged
amueller merged 4 commits into
scikit-learn:masterfrom
KamalakerDadi:sphinx_version_added
Nov 4, 2015
Merged

amueller merged 4 commits into
scikit-learn:masterfrom
KamalakerDadi:sphinx_version_added

Conversation

@KamalakerDadi

Copy link
Copy Markdown
Contributor

Fixes #5504
Looks like this:
versionadded

Any suggestions are welcome to proceed.

@KamalakerDadi KamalakerDadi changed the title Version Added for Robust Scaler [WIP] Version Added for Robust Scaler Oct 21, 2015
@amueller

Copy link
Copy Markdown
Member

LGTM

@amueller amueller changed the title [WIP] Version Added for Robust Scaler [MRG + 1] Version Added for Robust Scaler Oct 21, 2015
@KamalakerDadi

Copy link
Copy Markdown
Contributor Author

Should I continue with the rest ? @ogrisel

@KamalakerDadi KamalakerDadi changed the title [MRG + 1] Version Added for Robust Scaler [MRG + 1] Version Added for All Classes in 0.17 Oct 23, 2015
@amueller amueller added this to the 0.17 milestone Nov 2, 2015
@amueller

amueller commented Nov 2, 2015

Copy link
Copy Markdown
Member

thanks. Sorry forgot about this PR. Great, thank you so much!

Comment thread sklearn/decomposition/nmf.py Outdated

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 I commented on this before. I would do just

.. versionadded:: 0.17
    Coordinate Descent solver

or something like that, and list the two in the beginning without any version info.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

list the two in the beginning without any version info.

What do you mean by this ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Something like this:

solver : 'pg' | 'cd'
    Numerical solver to use:
    'pg' - Projected Gradient solver (deprecated).
    'cd' - Coordinate Descent solver (recommended).

.. versionadded 0.17: 
     Coordinate descent solver
.. versionchanged 0.17: 
     Projected gradient solver (deprecated)

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, only that I would make the "versionchanged" "Deprecated projected gradient solver".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I should more or less be finishing. atleast maximum. When is the release planned ?

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.

Wednesday or Thursday.
I would be happy if this was done by tonight but I don't want to stress you. I can also work on the rest.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ok I will try to finish or maximum inclusions by tonight.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@amueller Could you clarify me about this or similar ones

"Improved speed of newton-cg solver in :class:linear_model.LogisticRegression"

Does this fall in versionchanged ?

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.

na, I think you can skip that.

@amueller

amueller commented Nov 3, 2015

Copy link
Copy Markdown
Member

maybe #5708 is helpful for you, too.

@KamalakerDadi

Copy link
Copy Markdown
Contributor Author

maybe #5708 is helpful for you, too.

Sorry I missed your comment. I was busy taking of caring of conflicts.

@KamalakerDadi

Copy link
Copy Markdown
Contributor Author

@amueller I have included versions to all new classes/parameters/attributes/functions. Could you please have a look ?

@KamalakerDadi

Copy link
Copy Markdown
Contributor Author

@amueller Does this seems like Ok to merge ?

@amueller

amueller commented Nov 4, 2015

Copy link
Copy Markdown
Member

I'll have a look now, thanks :)

Comment thread sklearn/grid_search.py

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 wouldn't do that, I think. You would need to add it to all n_jobs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

U mean I should add to this to all n_jobs wherever applicable: Only version added is enough ?

.. versionadded:: 0.17    

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 you should not add this here. My comment was that if you added it here, you would need to add it to all n_job calls. I don't think that makes sense.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ok. I will remove. Thanks

@amueller

amueller commented Nov 4, 2015

Copy link
Copy Markdown
Member

this looks pretty good apart from my nitpicks.
Do you think you got everything from the extended whatsnew?

@KamalakerDadi

Copy link
Copy Markdown
Contributor Author

Thanks. I will finish your comments.

I followed everything from doc/whatsnew.rst. Old version.

@amueller

amueller commented Nov 4, 2015

Copy link
Copy Markdown
Member

Looks good, I'll merge. It would be nice to have the ones that were missing from the previous whatsnew, but I can understand if you have other things to do.

amueller added a commit that referenced this pull request Nov 4, 2015
[MRG + 1] Version Added for All Classes in 0.17
@amueller
amueller merged commit 7d574ad into scikit-learn:master Nov 4, 2015
@KamalakerDadi

Copy link
Copy Markdown
Contributor Author

Should I do them in new PR ?

@KamalakerDadi

Copy link
Copy Markdown
Contributor Author

Thanks for merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants