@@ -92,7 +92,9 @@ Changelog
92
92
93
93
Support for Python 3.3 has been officially dropped.
94
94
95
- .. rubric :: :mod:`sklearn.cluster`:
95
+
96
+ :mod: `sklearn.cluster `
97
+ ......................
96
98
97
99
- |MajorFeature | A new clustering algorithm: :class: `cluster.OPTICS `: an
98
100
algoritm related to :class: `cluster.DBSCAN `, that has hyperparameters easier
@@ -142,7 +144,9 @@ Support for Python 3.3 has been officially dropped.
142
144
:class: `cluster.AgglomerativeClustering `.
143
145
:issue: `9875 ` by :user: `Kumar Ashutosh <thechargedneutron> `.
144
146
145
- .. rubric :: :mod:`sklearn.compose`:
147
+
148
+ :mod: `sklearn.compose `
149
+ ......................
146
150
147
151
- New module.
148
152
@@ -156,7 +160,9 @@ Support for Python 3.3 has been officially dropped.
156
160
are mapped back to the original space via an inverse transform. :issue: `9041 `
157
161
by `Andreas Müller `_ and :user: `Guillaume Lemaitre <glemaitre> `.
158
162
159
- .. rubric :: :mod:`sklearn.covariance`:
163
+
164
+ :mod: `sklearn.covariance `
165
+ .........................
160
166
161
167
- |API | The :func: `covariance.graph_lasso `,
162
168
:class: `covariance.GraphLasso ` and :class: `covariance.GraphLassoCV ` have been
@@ -165,7 +171,9 @@ Support for Python 3.3 has been officially dropped.
165
171
respectively and will be removed in version 0.22.
166
172
:issue: `9993 ` by :user: `Artiem Krinitsyn <artiemq> `
167
173
168
- .. rubric :: :mod:`sklearn.datasets`:
174
+
175
+ :mod: `sklearn.datasets `
176
+ .......................
169
177
170
178
- |Feature | In :func: `datasets.make_blobs `, one can now pass a list to the
171
179
`n_samples ` parameter to indicate the number of samples to generate per
@@ -190,7 +198,9 @@ Support for Python 3.3 has been officially dropped.
190
198
data points could be generated. :issue: `10037 ` by :user: `Christian Braune
191
199
<christianbraune79> `.
192
200
193
- .. rubric :: :mod:`sklearn.decomposition`:
201
+
202
+ :mod: `sklearn.decomposition `
203
+ ............................
194
204
195
205
- |Feature | :func: `decomposition.dict_learning ` functions and models now
196
206
support positivity constraints. This applies to the dictionary and sparse
@@ -230,13 +240,17 @@ Support for Python 3.3 has been officially dropped.
230
240
:issue: `5956 ` by :user: `Vighnesh Birodkar <vighneshbirodkar> ` and
231
241
:user: `Olivier Grisel <ogrisel> `.
232
242
233
- .. rubric :: :mod:`sklearn.discriminant_analysis`:
243
+
244
+ :mod: `sklearn.discriminant_analysis `
245
+ ....................................
234
246
235
247
- |Efficiency | Memory usage improvement for :func: `_class_means ` and
236
248
:func: `_class_cov ` in :mod: `discriminant_analysis `. :issue: `10898 ` by
237
249
:user: `Nanxin Chen <bobchennan> `.`
238
250
239
- .. rubric :: :mod:`sklearn.dummy`:
251
+
252
+ :mod: `sklearn.dummy `
253
+ ....................
240
254
241
255
- |Feature | :class: `dummy.DummyRegressor ` now has a ``return_std `` option in its
242
256
``predict `` method. The returned standard deviations will be zeros.
@@ -245,7 +259,9 @@ Support for Python 3.3 has been officially dropped.
245
259
only require X to be an object with finite length or shape. :issue: `9832 ` by
246
260
:user: `Vrishank Bhardwaj <vrishank97> `.
247
261
248
- .. rubric :: :mod:`sklearn.ensemble`:
262
+
263
+ :mod: `sklearn.ensemble `
264
+ .......................
249
265
250
266
- |Feature | :class: `ensemble.BaggingRegressor ` and
251
267
:class: `ensemble.BaggingClassifier ` can now be fit with missing/non-finite
@@ -293,7 +309,9 @@ Support for Python 3.3 has been officially dropped.
293
309
reproduce ``fit `` result usinbg the object attributes when ``random_state ``
294
310
is set. :issue: `9723 ` by :user: `Guillaume Lemaitre <glemaitre> `.
295
311
296
- .. rubric :: :mod:`sklearn.feature_extraction`:
312
+
313
+ :mod: `sklearn.feature_extraction `
314
+ .................................
297
315
298
316
- |Feature | Enable the call to :term: `get_feature_names ` in unfitted
299
317
:class: `feature_extraction.text.CountVectorizer ` initialized with a
@@ -318,7 +336,9 @@ Support for Python 3.3 has been officially dropped.
318
336
:issue: `10441 ` by :user: `Mayur Kulkarni <maykulkarni> ` and
319
337
:user: `Guillaume Lemaitre <glemaitre> `.
320
338
321
- .. rubric :: :mod:`sklearn.feature_selection`:
339
+
340
+ :mod: `sklearn.feature_selection `
341
+ ................................
322
342
323
343
- |Feature | Added select K best features functionality to
324
344
:class: `feature_selection.SelectFromModel `.
@@ -329,14 +349,18 @@ Support for Python 3.3 has been officially dropped.
329
349
CV scores in :class: `feature_selection.RFECV `.
330
350
:issue: `9222 ` by :user: `Nick Hoh <nickypie> `.
331
351
332
- .. rubric :: :mod:`sklearn.gaussian_process`:
352
+
353
+ :mod: `sklearn.gaussian_process `
354
+ ...............................
333
355
334
356
- |Efficiency | In :class: `gaussian_process.GaussianProcessRegressor `, method
335
357
``predict `` is faster when using ``return_std=True `` in particular more when
336
358
called several times in a row. :issue: `9234 ` by :user: `andrewww <andrewww> `
337
359
and :user: `Minghui Liu <minghui-liu> `.
338
360
339
- .. rubric :: :mod:`sklearn.impute`:
361
+
362
+ :mod: `sklearn.impute `
363
+ .....................
340
364
341
365
- New module, adopting ``preprocessing.Imputer `` as
342
366
:class: `impute.SimpleImputer ` with minor changes (see under preprocessing
@@ -352,14 +376,18 @@ Support for Python 3.3 has been officially dropped.
352
376
data, and so does the ``'most_frequent' `` strategy now. :issue: `11211 ` by
353
377
:user: `Jeremie du Boisberranger <jeremiedbb> `.
354
378
355
- .. rubric :: :mod:`sklearn.isotonic`:
379
+
380
+ :mod: `sklearn.isotonic `
381
+ .......................
356
382
357
383
- |Fix | Fixed a bug in :class: `isotonic.IsotonicRegression ` which incorrectly
358
384
combined weights when fitting a model to data involving points with
359
385
identical X values.
360
386
:issue: `9432 ` by :user: `Dallas Card <dallascard> `
361
387
362
- .. rubric :: :mod:`sklearn.linear_model`:
388
+
389
+ :mod: `sklearn.linear_model `
390
+ ...........................
363
391
364
392
- |Feature | :class: `linear_model.SGDClassifier `,
365
393
:class: `linear_model.SGDRegressor `,
@@ -456,7 +484,9 @@ Support for Python 3.3 has been officially dropped.
456
484
estimators will report at most ``max_iter `` iterations even if more were
457
485
performed. :issue: `10723 ` by `Joel Nothman `_.
458
486
459
- .. rubric :: :mod:`sklearn.manifold`:
487
+
488
+ :mod: `sklearn.manifold `
489
+ .......................
460
490
461
491
- |Efficiency | Speed improvements for both 'exact' and 'barnes_hut' methods in
462
492
:class: `manifold.TSNE `. :issue: `10593 ` and :issue: `10610 ` by
@@ -482,7 +512,9 @@ Support for Python 3.3 has been officially dropped.
482
512
pairwise distances or squared distances. :issue: `9775 ` by
483
513
:user: `William de Vazelhes <wdevazelhes> `.
484
514
485
- .. rubric :: :mod:`sklearn.metrics`:
515
+
516
+ :mod: `sklearn.metrics `
517
+ ......................
486
518
487
519
- |MajorFeature | Added the :func: `metrics.davies_bouldin_score ` metric for
488
520
evaluation of clustering models without a ground truth. :issue: `10827 ` by
@@ -582,7 +614,9 @@ Support for Python 3.3 has been officially dropped.
582
614
``working_memory `` config. See :ref: `working_memory `. :issue: `10280 ` by `Joel
583
615
Nothman `_ and :user: `Aman Dalmia <dalmia> `.
584
616
585
- .. rubric :: :mod:`sklearn.mixture`:
617
+
618
+ :mod: `sklearn.mixture `
619
+ ......................
586
620
587
621
- |Feature | Added function :term: `fit_predict ` to :class: `mixture.GaussianMixture `
588
622
and :class: `mixture.GaussianMixture `, which is essentially equivalent to
@@ -600,7 +634,9 @@ Support for Python 3.3 has been officially dropped.
600
634
initializations (when ``n_init > 1 ``), but just the lower bound of the last
601
635
initialization. :issue: `10869 ` by :user: `Aurélien Géron <ageron> `.
602
636
603
- .. rubric :: :mod:`sklearn.model_selection`:
637
+
638
+ :mod: `sklearn.model_selection `
639
+ ..............................
604
640
605
641
- |Feature | Add `return_estimator ` parameter in
606
642
:func: `model_selection.cross_validate ` to return estimators fitted on each
@@ -656,12 +692,16 @@ Support for Python 3.3 has been officially dropped.
656
692
raises TypeError.
657
693
:issue: `10928 ` by :user: `Solutus Immensus <solutusimmensus> `
658
694
659
- .. rubric :: :mod:`sklearn.multioutput`:
695
+
696
+ :mod: `sklearn.multioutput `
697
+ ..........................
660
698
661
699
- |MajorFeature | Added :class: `multioutput.RegressorChain ` for multi-target
662
700
regression. :issue: `9257 ` by :user: `Kumar Ashutosh <thechargedneutron> `.
663
701
664
- .. rubric :: :mod:`sklearn.naive_bayes`:
702
+
703
+ :mod: `sklearn.naive_bayes `
704
+ ..........................
665
705
666
706
- |MajorFeature | Added :class: `naive_bayes.ComplementNB `, which implements the
667
707
Complement Naive Bayes classifier described in Rennie et al. (2003).
@@ -679,7 +719,9 @@ Support for Python 3.3 has been officially dropped.
679
719
vector valued pseudocounts (alpha).
680
720
:issue: `10346 ` by :user: `Tobias Madsen <TobiasMadsen> `
681
721
682
- .. rubric :: :mod:`sklearn.neighbors`:
722
+
723
+ :mod: `sklearn.neighbors `
724
+ ........................
683
725
684
726
- |Efficiency | :class: `neighbors.RadiusNeighborsRegressor ` and
685
727
:class: `neighbors.RadiusNeighborsClassifier ` are now
@@ -719,7 +761,9 @@ Support for Python 3.3 has been officially dropped.
719
761
faster construction and querying times.
720
762
:issue: `11556 ` by :user: `Jake VanderPlas <jakevdp> `
721
763
722
- .. rubric :: :mod:`sklearn.neural_network`:
764
+
765
+ :mod: `sklearn.neural_network `
766
+ .............................
723
767
724
768
- |Feature | Add `n_iter_no_change ` parameter in
725
769
:class: `neural_network.BaseMultilayerPerceptron `,
@@ -738,14 +782,18 @@ Support for Python 3.3 has been officially dropped.
738
782
quit unexpectedly early due to local minima or fluctuations.
739
783
:issue: `9456 ` by :user: `Nicholas Nadeau <nnadeau> `
740
784
741
- .. rubric :: :mod:`sklearn.pipeline`:
785
+
786
+ :mod: `sklearn.pipeline `
787
+ .......................
742
788
743
789
- |Feature | The ``predict `` method of :class: `pipeline.Pipeline ` now passes
744
790
keyword arguments on to the pipeline's last estimator, enabling the use of
745
791
parameters such as ``return_std `` in a pipeline with caution.
746
792
:issue: `9304 ` by :user: `Breno Freitas <brenolf> `.
747
793
748
- .. rubric :: :mod:`sklearn.preprocessing`:
794
+
795
+ :mod: `sklearn.preprocessing `
796
+ ............................
749
797
750
798
- |MajorFeature | Expanded :class: `preprocessing.OneHotEncoder ` to allow to
751
799
encode categorical string features as a numeric array using a one-hot (or
@@ -869,7 +917,9 @@ Support for Python 3.3 has been officially dropped.
869
917
``validate `` will be from ``True `` to ``False `` in 0.22.
870
918
:issue: `10655 ` by :user: `Guillaume Lemaitre <glemaitre> `.
871
919
872
- .. rubric :: :mod:`sklearn.svm`:
920
+
921
+ :mod: `sklearn.svm `
922
+ ..................
873
923
874
924
- |Fix | Fixed a bug in :class: `svm.SVC ` where when the argument ``kernel `` is
875
925
unicode in Python2, the ``predict_proba `` method was raising an
@@ -886,7 +936,9 @@ Support for Python 3.3 has been officially dropped.
886
936
version 0.22 to account better for unscaled features. :issue: `8361 ` by
887
937
:user: `Gaurav Dhingra <gxyd> ` and :user: `Ting Neo <neokt> `.
888
938
889
- .. rubric :: :mod:`sklearn.tree`:
939
+
940
+ :mod: `sklearn.tree `
941
+ ...................
890
942
891
943
- |Fix | Fixed a bug in :class: `tree.BaseDecisionTree ` with `splitter="best" `
892
944
where split threshold could become infinite when values in X were
@@ -898,7 +950,9 @@ Support for Python 3.3 has been officially dropped.
898
950
considered all samples to be of equal weight importance.
899
951
:issue: `11464 ` by :user: `John Stott <JohnStott> `.
900
952
901
- .. rubric :: :mod:`sklearn.utils`:
953
+
954
+ :mod: `sklearn.utils `
955
+ ....................
902
956
903
957
- |Feature | :func: `utils.check_array ` and :func: `utils.check_X_y ` now have
904
958
``accept_large_sparse `` to control whether scipy.sparse matrices with 64-bit
@@ -913,7 +967,9 @@ Support for Python 3.3 has been officially dropped.
913
967
that arrays of bytes/strings will be interpreted as decimal numbers
914
968
beginning in version 0.22. :issue: `10229 ` by :user: `Ryan Lee <rtlee9> `
915
969
916
- .. rubric :: Multiple modules
970
+
971
+ Multiple modules
972
+ ................
917
973
918
974
- |Feature | |API | More consistent outlier detection API:
919
975
Add a ``score_samples `` method in :class: `svm.OneClassSVM `,
@@ -956,7 +1012,9 @@ Support for Python 3.3 has been officially dropped.
956
1012
:class: `cluster.AffinityPropagation `, and :class: `cluster.Birch `.
957
1013
:issue: `10306 ` by :user: `Jonathan Siebert <jotasi> `.
958
1014
959
- .. rubric :: Miscellaneous
1015
+
1016
+ Miscellaneous
1017
+ .............
960
1018
961
1019
- |MajorFeature | A new configuration parameter, ``working_memory `` was added
962
1020
to control memory consumption limits in chunked operations, such as the new
0 commit comments