Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DOC: Added changes in ShuffleSplit and sklearn.neighbors

  • Loading branch information...
commit 58a8742e4b373b16abd5d788713df95076566eb5 1 parent 1503bd7
@davidmarek davidmarek authored GaelVaroquaux committed
Showing with 12 additions and 0 deletions.
  1. +12 −0 doc/whats_new.rst
12 doc/whats_new.rst
@@ -82,6 +82,9 @@ Changelog
``shrink_threshold`` parameter, which implements shrunken centroid
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
@@ -159,6 +162,15 @@ API changes summary
- The SVMlight format loader now supports files with both zero-based and
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:
Please sign in to comment.
Something went wrong with that request. Please try again.