Skip to content

[MRG + 2] DOC adding :user: role to whats_new - #7818

Merged
raghavrv merged 17 commits into
scikit-learn:masterfrom
dalmia:7748
Nov 9, 2016
Merged

raghavrv merged 17 commits into
scikit-learn:masterfrom
dalmia:7748

Conversation

@dalmia

@dalmia dalmia commented Nov 3, 2016

Copy link
Copy Markdown
Contributor

Reference Issue

Addresses Issue #7748

What does this implement/fix? Explain your changes.

Added the :user: role to whats_new.rst for all contributors having a github url in the current version of whats_new.rst.

Any other comments?

Wrote a script for automating the process. No changes made for contributors not having the github URL linked.

@maniteja123

Copy link
Copy Markdown
Contributor

Hi, I suppose there is a merge conflict since whats new has been modified in master. It might be best to rebase and resolve the conflicts. This is the reason for failure of appveyor build.

@dalmia

dalmia commented Nov 3, 2016

Copy link
Copy Markdown
Contributor Author

Hi @maniteja123, thank you for your response. Since the issue needs whats_new to be modified, I suppose the rebase can be done only by the maintainers?

@maniteja123

Copy link
Copy Markdown
Contributor

Hi, it is possible for you to resolve conflicts and push the updated ones. The link under rebase your branch on master in docs gives an example. Hope it helps.

@jnothman

jnothman commented Nov 3, 2016

Copy link
Copy Markdown
Member

The appveyor failure likely is unrelated. You'll need to rebase/merge frequently on this PR :/

@jnothman jnothman left a comment

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.

Don't worry about rebasing until the rest looks right.

try:
from docutils import nodes, utils
except ImportError:
# Load lazily so that test-sphinxext does not require docutils dependency

ghost Nov 3, 2016

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.

You need to keep this variation

Comment thread doc/whats_new.rst Outdated
* 96 `Lars Buitinck`_
* 88 `Jaques Grobler`_
* 96 :user:`Lars Buitinck<larsmans>`
* 88 :user:`Jaques Grobler<jaquesgrobler/scikit-learn/wiki/Jaques-Grobler>`

ghost Nov 3, 2016

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.

In cases like this you've over-generated.

Comment thread doc/whats_new.rst

.. _Scott White: https://twitter.com/scottblanc

.. _Jaques Grobler: https://github.com/jaquesgrobler/scikit-learn/wiki/Jaques-Grobler

ghost Nov 3, 2016

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.

@dalmia

ghost commented Nov 4, 2016

Copy link
Copy Markdown
Contributor Author

I was extracting the part following 'http://github.com/' when I was parsing the URL. This particular author has the URL mentioned in the original whats_new as :

.. _Jaques Grobler: https://github.com/jaquesgrobler/scikit-learn/wiki/Jaques-Grobler

Sorry, I didn't anticipate there could be such anomalies. I'll make the changes and look for any other such issues.

@dalmia

ghost commented Nov 4, 2016

Copy link
Copy Markdown
Contributor Author

@maniteja123 Thank you for the link. It worked like a charm.
I did resolve the conflicts. I hope all the checks pass now!

@jnothman

ghost commented Nov 4, 2016 •

Copy link
Copy Markdown
Member

Thanks, this is much better, but looking at this I think core devs, at least, if not other regular contributors, should switch back to the old format.

Team members have the following logins: agramfort AlexanderFabisch alextp amueller arjoly bdholt1 bthirion chrisfilo cournape duchesnay dwf fabianp GaelVaroquaux glouppe jakevdp jaquesgrobler jmetzen jnothman kastnerkyle larsmans lesteve lucidfrontier45 mblondel MechCoder ndawe NelleV ogrisel paolo-losi pprett raghavrv tomdlt

Or you can switch back for all people whose user appears in the log more than 10 times or something.

Another thing we should do is try to keep line length to at most 80 chars maximum for lines that are changed.

@dalmia

ghost commented Nov 4, 2016

Copy link
Copy Markdown
Contributor Author

I'll start working on that then!

@dalmia

ghost commented Nov 4, 2016

Copy link
Copy Markdown
Contributor Author

When I check for the number of times user appears in the log, it also includes those cases where they have been mentioned in the list of contributors after the log for each version. Would it be more appropriate then to set the threshold at 15?

@jnothman

ghost commented Nov 4, 2016

Copy link
Copy Markdown
Member

Make it 20. It's immaterial.

On 4 November 2016 at 19:11, Aman Dalmia [email protected] wrote:

When I check for the number of times user appears in the log, it also
includes those cases where they have been mentioned in the list of
contributors after the log for each version. Would it be more appropriate
then to set the threshold at 15?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#7818 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEz6xLuAoKXnoT2jP4RPLqUVdYJlK9Uks5q6uiugaJpZM4KoWBZ
.

@dalmia

ghost commented Nov 4, 2016

Copy link
Copy Markdown
Contributor Author

@jnothman Actually the number of core devs having their github URLs linked was only 5 so I changed them manually. Let me know if this works or should I do this for all those having more than 20 commits.

@TomDLT

ghost commented Nov 4, 2016 •

Copy link
Copy Markdown
Member

reverting to the old format for core devs

What about us? ;)

Nelle Varoquaux
Tom Dupre la Tour

should I do this for all those having more than 20 commits.

why not

@dalmia

ghost commented Nov 4, 2016

Copy link
Copy Markdown
Contributor Author

@TomDLT I had assumed that the list of usernames provided were case sensitive. My bad. I made a few changes to the script and now the doc has been updated for all the core devs.

@dalmia

ghost commented Nov 4, 2016

Copy link
Copy Markdown
Contributor Author

@jnothman Please let me know if this has any more issues.

ghost left a comment

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.

Otherwise LGTM

Comment thread doc/whats_new.rst

.. _Dylan Werner-Meier: https://github.com/unautre
.. _Nelle Varoquaux: https://github.com/nellev

ghost Nov 5, 2016

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.

While we're at it, could you please remove all the blank lines in this target URL listing?

Comment thread doc/whats_new.rst Outdated
- New :class:`mixture.GaussianMixture` and :class:`mixture.BayesianGaussianMixture`
replace former mixture models, employing faster inference
for sounder results. :issue:`7295` by `Wei Xue`_ and `Thierry Guillemot`_.
for sounder results. :issue:`7295` by :user:`Wei Xue<xuewei4d>` and :user:`Thierry Guillemot<tguillemot>`.

ghost Nov 5, 2016

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 line is very long

Comment thread doc/whats_new.rst Outdated
- Random forest, extra trees, decision trees and gradient boosting estimator
accept the parameter ``min_samples_split`` and ``min_samples_leaf``
provided as a percentage of the training samples. By `yelite`_ and `Arnaud Joly`_.
provided as a percentage of the training samples. By :user:`yelite<yelite>` and `Arnaud Joly`_.

ghost Nov 5, 2016

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 line is very long

Comment thread doc/whats_new.rst Outdated
with ``np.float32`` and ``np.float64`` input data without converting it.
This allows to reduce the memory consumption by using ``np.float32``.
:issue:`6846` by `Sebastian Säger`_ and `YenChen Lin`_.
:issue:`6846` by :user:`Sebastian Säger<ssaeger>` and :user:`YenChen Lin<yenchenlin>`.

ghost Nov 5, 2016

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 line is very long

Comment thread doc/whats_new.rst Outdated

- :class:`feature_extraction.FeatureHasher` now accepts string values.
:issue:`6173` by `Ryad Zenine`_ and `Devashish Deshpande`_.
:issue:`6173` by :user:`Ryad Zenine<ryadzenine>` and :user:`Devashish Deshpande<dsquareindia>`.

ghost Nov 5, 2016

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 line is very long

Comment thread doc/whats_new.rst Outdated
of the impurity improvement during the tree growth. The proxy quantity is
such that the split that maximizes this value also maximizes the impurity
improvement. By `Arnaud Joly`_, `Jacob Schreiber`_ and `Gilles Louppe`_.
improvement. By `Arnaud Joly`_, :user:`Jacob Schreiber<jmschrei>` and `Gilles Louppe`_.

ghost Nov 5, 2016

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 line is very long

Comment thread doc/whats_new.rst Outdated

- Fixed bug :issue:`5495` when
doing OVR(SVC(decision_function_shape="ovr")). Fixed by `Elvis Dohmatob`_.
doing OVR(SVC(decision_function_shape="ovr")). Fixed by :user:`Elvis Dohmatob<dohmatob>`.

ghost Nov 5, 2016

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 line is very long

Comment thread doc/whats_new.rst Outdated

- :class:`cluster.KMeans` re-runs cluster-assignments in case of non-convergence,
to ensure consistency of ``predict(X)`` and ``labels_``. By `Vighnesh Birodkar`_.
to ensure consistency of ``predict(X)`` and ``labels_``. By :user:`Vighnesh Birodkar<vighneshbirodkar>`.

ghost Nov 5, 2016

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 line is very long

Comment thread doc/whats_new.rst Outdated

- ``DictVectorizer`` can now perform ``fit_transform`` on an iterable in a
single pass, when giving the option ``sort=False``. By `Dan Blanchard`_.
single pass, when giving the option ``sort=False``. By :user:`Dan Blanchard<dan-blanchard>`.

ghost Nov 5, 2016

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 line is very long

Comment thread doc/whats_new.rst Outdated

- Fixed handling of the ``p`` parameter of the Minkowski distance that was
previously ignored in nearest neighbors models. By `Nikolay Mayorov`_.
previously ignored in nearest neighbors models. By :user:`Nikolay Mayorov<nmayorov>`.

ghost Nov 5, 2016

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 line is very long

@jnothman

ghost commented Nov 5, 2016

Copy link
Copy Markdown
Member

If you wouldn't mind, I've checked for names without link target definitions and the opposite and found a few issues that need to be fixed up:

  • Hannah Wallach is mentioned in the text, but not linked (even though a link target is defined at the end of the file)
  • Johannes Schönberger is mentioned in the text, but not linked, as above
  • Federico Vaggi is mentioned in the text, but the link is defined as .. _@FedericoV for unknown reason
  • Jon Crall and Ekaterina Krivich recently contributed (you'll need to update master) but didn't define link targets. They should be github users Erotemic and kiote respectively.
  • I'm not sure if these link names are case sensitive, but if they are, Jake VanderPlas should change to Jake Vanderplas when it appears as the link name.
  • Ron Weiss should be defined at the end of the file, as http://ee.columbia.edu/~ronw.

@dalmia

ghost commented Nov 5, 2016

Copy link
Copy Markdown
Contributor Author

Okay! I'll try to complete them by tomorrow.

@jnothman

ghost commented Nov 6, 2016

Copy link
Copy Markdown
Member

Thank you so much!

@dalmia

ghost commented Nov 7, 2016

Copy link
Copy Markdown
Contributor Author

Thank you :)

@raghavrv

ghost commented Nov 7, 2016

Copy link
Copy Markdown
Member

Could you fix conflicts with master?

@jnothman

ghost commented Nov 7, 2016

Copy link
Copy Markdown
Member

(That's why we have to merge soon. Perhaps the merger should just solve
conflicts when it comes down to it.)

On 8 November 2016 at 08:14, Raghav RV [email protected] wrote:

Could you fix conflicts with master?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#7818 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEz6_EQImmf4PegwROg-DLA8MIWtAvsks5q75S2gaJpZM4KoWBZ
.

@dalmia

ghost commented Nov 8, 2016

Copy link
Copy Markdown
Contributor Author

@raghavrv Please have a look now. I would request you to review it as it updates really quickly in the master branch. Thank you.

@dalmia

ghost commented Nov 8, 2016

Copy link
Copy Markdown
Contributor Author

@jnothman The error log says that the build execution time reached the maximum allowed time. Please let me know if I should be doing anything in this regard.

@jnothman

ghost commented Nov 8, 2016

Copy link
Copy Markdown
Member

No, that's just the nature of using public continuous integration services.

ghost left a comment

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.

Minor comments otherwise LGTM. Thanks!

Comment thread doc/whats_new.rst
Garrett-R, Gilles Louppe, gpassino, gwulfs, Hampus Bengtsson, Hamzeh Alsalhi,
Hanna Wallach, Harry Mavroforakis, Hasil Sharma, Helder, Herve Bredin,
Hsiang-Fu Yu, Hugues SALAMIN, Ian Gilmore, Ilambharathi Kanniah, Imran Haque,
isms, Jake VanderPlas, Jan Dlabal, Jan Hendrik Metzen, Jatin Shah, Javier López

ghost Nov 8, 2016

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 @jakevdp prefers it this way ;)

Comment thread doc/whats_new.rst Outdated
- Support unseen labels :class:`preprocessing.LabelBinarizer` to restore
the default behavior of 0.14.1 for backward compatibility. By
`Hamzeh Alsalhi`_.
:user:`Hamzeh Alsalhi<hamsal>`.

ghost Nov 8, 2016

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.

space after name

Comment thread doc/whats_new.rst
* 21 Maheshakya Wijewardena
* 21 Brooke Osborn
* 21 Hamzeh Alsalhi
* 21 Jake VanderPlas

ghost Nov 8, 2016

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.

Same comment as above...

Comment thread doc/whats_new.rst Outdated

- Hyperlinks to documentation in example code on the website by
`Martin Luessi`_.
:user:`Martin Luessi<mluessi>`.

ghost Nov 8, 2016

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.

Space after name

Comment thread doc/whats_new.rst
* 102 Noel Dawe
* 99 Kemal Eren
* 79 Joel Nothman
* 75 Jake VanderPlas

ghost Nov 8, 2016

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.

Same comment as above

@dalmia

ghost commented Nov 9, 2016

Copy link
Copy Markdown
Contributor Author

@raghavrv Please let me know if this works now. Thanks.

@raghavrv

ghost commented Nov 9, 2016

Copy link
Copy Markdown
Member

Thanks. Will merge once the CIs pass...

@raghavrv raghavrv changed the title [MRG+1] DOC adding :user: role to whats_new [MRG + 2] DOC adding :user: role to whats_new Nov 9, 2016
@raghavrv
raghavrv merged commit c56925a into scikit-learn:master Nov 9, 2016
@raghavrv

ghost commented Nov 9, 2016

Copy link
Copy Markdown
Member

In it goes! Thanks @dalmia

@jnothman

ghost commented Nov 9, 2016

Copy link
Copy Markdown
Member

Yay for less finicky changelog management!

@dalmia

ghost commented Nov 9, 2016

Copy link
Copy Markdown
Contributor Author

Thank you @jnothman, @raghavrv. My first ever PR merged. Feels great :)

@jnothman

ghost commented Nov 9, 2016

Copy link
Copy Markdown
Member

:) Thank you.

@dalmia
dalmia deleted the 7748 branch November 16, 2016 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants