Skip to content

Commit

Permalink
Merge pull request scikit-learn#5771 from bhargav/minor-doc-fixes
Browse files Browse the repository at this point in the history
DOC - Minor documentation fixes - Fixes scikit-learn#5770 and scikit-learn#5761
  • Loading branch information
GaelVaroquaux committed Nov 16, 2015
2 parents a20b0eb + d963df4 commit 09c3fbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/modules/cross_validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ for cross-validation against time-based splits.

.. warning::

Contrary to :class:`StratifiedKFold`, **the ``labels`` of
:class:`LeaveOneLabelOut` should not encode the target class to predict**:
Contrary to :class:`StratifiedKFold`, the ``labels`` of
:class:`LeaveOneLabelOut` should not encode the target class to predict:
the goal of :class:`StratifiedKFold` is to rebalance dataset classes across
the train / test split to ensure that the train and test folds have
approximately the same percentage of samples of each class while
Expand Down
2 changes: 1 addition & 1 deletion doc/themes/scikit-learn/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<li><a href="{{ pathto('user_guide') }}">User guide</a></li>
<li><a href="{{ pathto('modules/classes') }}">API</a></li>
<li><a href="{{ pathto('faq') }}">FAQ</a></li>
<li><a href="{{ pathto('developers') }}">Contributing</a></li>
<li><a href="{{ pathto('developers/index') }}">Contributing</a></li>
<li class="divider"></li>
<li><a href="http://scikit-learn.org/stable/documentation.html">Scikit-learn 0.16.1 (stable)</a></li>
<li><a href="http://scikit-learn.org/0.15/documentation.html">Scikit-learn 0.15</a></li>
Expand Down

0 comments on commit 09c3fbf

Please sign in to comment.