Skip to content

Commit

Permalink
DOC: Added changes in ShuffleSplit and sklearn.neighbors
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmarek authored and GaelVaroquaux committed Apr 22, 2012
1 parent 1503bd7 commit 58a8742
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/whats_new.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ Changelog
``shrink_threshold`` parameter, which implements shrunken centroid ``shrink_threshold`` parameter, which implements shrunken centroid
classification, by `Robert Layton`_. classification, by `Robert Layton`_.


- Classes in :ref:`neighbors` now support arbitrary Minkowski metric for
nearest neighbors searches. The metric can be specified by argument ``p``.

API changes summary API changes summary
------------------- -------------------


Expand Down Expand Up @@ -159,6 +162,15 @@ API changes summary
- The SVMlight format loader now supports files with both zero-based and - The SVMlight format loader now supports files with both zero-based and
one-based column indices, since both occur "in the wild". one-based column indices, since both occur "in the wild".


- Options in class :class:`ShuffleSplit` are now consistent with
:class:`StratifiedShuffleSplit`. Options ``test_fraction`` and
``train_fraction`` are deprecated and renamed to ``test_size`` and
``train_size`` and can accept both ``float`` and ``int``.

- Argument ``p`` added to classes in :ref:`neighbors` to specify an
arbitrary Minkowski metric for nearest neighbors searches.


.. _changes_0_10: .. _changes_0_10:


0.10 0.10
Expand Down

0 comments on commit 58a8742

Please sign in to comment.