@@ -25,17 +25,17 @@ Changelog
25
25
- Faster tests by `Fabian Pedregosa `_.
26
26
27
27
- Silhouette Coefficient cluster analysis evaluation metric added as
28
- `` sklearn.metrics.silhouette_score ` ` by Robert Layton.
28
+ :func: ` sklearn.metrics.silhouette_score ` by Robert Layton.
29
29
30
- - Fixed a bug in ` KMeans ` in the handling of the `n_init ` parameter:
31
- the clustering algorithm used to be run `n_init ` times but the last
30
+ - Fixed a bug in :ref: ` k_means ` in the handling of the `` n_init ` ` parameter:
31
+ the clustering algorithm used to be run `` n_init ` ` times but the last
32
32
solution was retained instead of the best solution.
33
33
34
34
- Minor refactoring in :ref: `sgd ` module; consolidated dense and sparse
35
35
predict methods.
36
36
37
37
- Adjusted Mutual Information metric added as
38
- `` sklearn.metrics.adjusted_mutual_info_score ` ` by Robert Layton.
38
+ :func: ` sklearn.metrics.adjusted_mutual_info_score ` by Robert Layton.
39
39
40
40
- Models like SVC/SVR/LinearSVC/LogisticRegression from libsvm/liblinear
41
41
now support scaling of C regularization parameter by the number of
@@ -54,7 +54,24 @@ Changelog
54
54
55
55
- Fix a bug due to atom swapping in :ref: `OMP ` by `Vlad Niculae `_.
56
56
57
- - :ref: `SparseCoder ` by `Vlad Niculae `_.
57
+ - :ref: `SparseCoder ` by `Vlad Niculae `_.
58
+
59
+ - :ref: `mini_batch_kmeans ` performance improvements by `Olivier Grisel `_.
60
+
61
+ - :ref: `k_means ` support for sparse matrices by `Mathieu Blondel `_.
62
+
63
+ - Improved documentation for developers and for the :mod: `sklearn.utils `
64
+ module, by `Jake VanderPlas `_.
65
+
66
+ - Vectorized 20newsgroups dataset loader
67
+ (:func: `sklearn.datasets.fetch_20newsgroups_vectorized `) by
68
+ `Mathieu Blondel `_.
69
+
70
+ - :ref: `multiclass ` by `Lars Buitinck `_.
71
+
72
+ - Utilities for fast computation of mean and variance for sparse matrices
73
+ by `Mathieu Blondel `_.
74
+
58
75
59
76
API changes summary
60
77
-------------------
@@ -66,10 +83,10 @@ version 0.9:
66
83
had ``overwrite_ `` parameters; these have been replaced with ``copy_ ``
67
84
parameters with exactly the opposite meaning.
68
85
69
- This particularly affects some of the estimators in `` linear_models ` `.
86
+ This particularly affects some of the estimators in :mod: ` linear_model `.
70
87
The default behavior is still to copy everything passed in.
71
88
72
- - The SVMlight dataset loader `` sklearn.datasets.load_svmlight_file ` ` no
89
+ - The SVMlight dataset loader :func: ` sklearn.datasets.load_svmlight_file ` no
73
90
longer supports loading two files at once; use ``load_svmlight_files ``
74
91
instead. Also, the (unused) ``buffer_mb `` parameter is gone.
75
92
@@ -80,13 +97,14 @@ version 0.9:
80
97
- The :ref: `covariance ` module now has a robust estimator of
81
98
covariance, the Minimum Covariance Determinant estimator.
82
99
83
- - Cluster evaluation metrics in `` metrics.cluster.py ` ` have been refactored
100
+ - Cluster evaluation metrics in :mod: ` metrics.cluster ` have been refactored
84
101
but the changes are backwards compatible. They have been moved to the
85
- ``metrics.cluster.supervised ``, along with ``metrics.cluster.unsupervised ``
86
- which contains the Silhouette Coefficient.
102
+ :mod: `metrics.cluster.supervised `, along with
103
+ :mod: `metrics.cluster.unsupervised ` which contains the Silhouette
104
+ Coefficient.
87
105
88
- - The permutation_test_score function now behaves the same way as
89
- cross_val_score (i.e. uses the mean score across the folds.)
106
+ - The `` permutation_test_score `` function now behaves the same way as
107
+ `` cross_val_score `` (i.e. uses the mean score across the folds.)
90
108
91
109
- Cross Validation generators now use integer indices (``indices=True ``)
92
110
by default instead of boolean masks. This make it more intuitive to
@@ -99,10 +117,12 @@ version 0.9:
99
117
as opposed to the regression setting.
100
118
101
119
- Fixed an off-by-one error in the SVMlight/LibSVM file format handling;
102
- files generated using `` sklearn.datasets.dump_svmlight_file ` ` should be
120
+ files generated using :func: ` sklearn.datasets.dump_svmlight_file ` should be
103
121
re-generated. (They should continue to work, but accidentally had one
104
122
extra column of zeros prepended.)
105
123
124
+ - ``BaseDictionaryLearning `` class replaced by ``SparseCodingMixin ``.
125
+
106
126
107
127
.. _changes_0_9 :
108
128
0 commit comments