Skip to content

Commit 35b1d39

Browse files
committed
ENH documented changes for SVC classes_ changes.
1 parent 956975a commit 35b1d39

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/whats_new.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,11 @@ API changes summary
195195
:class:`decomposition.MiniBatchDictionaryLearning` and
196196
:class:`decomposition.MiniBatchSparsePCA` for consistency.
197197

198+
- :class:`svm.SVC` and :class:`svm.NuSVC` now provide a ``classes_``
199+
attribute and support arbitrary dtypes for labels ``y``.
200+
Also, the dtype returned by ``predict`` now reflects the dtype of
201+
``y`` during ``fit`` (used to be ``np.float``).
202+
198203
.. _changes_0_12.1:
199204

200205
0.12.1

0 commit comments

Comments
 (0)