@@ -40,57 +40,20 @@ Support for Python 3.4 and below has been officially dropped.
40
40
- An entry goes here
41
41
- An entry goes here
42
42
43
- :mod: `sklearn.linear_model `
44
- ...........................
45
- - |Fix | Fixed a bug in :class: `linear_model.MultiTaskElasticNet ` which was breaking
46
- ``MultiTaskElasticNet `` and ``MultiTaskLasso `` when ``warm_start = True ``. :issue: `12360 `
47
- by :user: `Aakanksha Joshi <joaak> `.
48
-
49
43
:mod: `sklearn.cluster `
50
44
......................
51
45
52
46
- |MajorFeature | A new clustering algorithm: :class: `cluster.OPTICS `: an
53
47
algoritm related to :class: `cluster.DBSCAN `, that has hyperparameters easier
54
48
to set and that scales better, by :user: `Shane <espg> `,
55
49
:user: `Adrin Jalali <adrinjalali> `, and :user: `Erich Schubert <kno10> `.
56
-
57
- :mod: `sklearn.preprocessing `
58
- ............................
59
-
60
- - |Efficiency | Make :class: `preprocessing.MultiLabelBinarizer ` to cache class mappings instead
61
- of calculating it every time on the fly.
62
- :issue: `12116 ` by :user: `Ekaterina Krivich <kiote> ` and `Joel Nothman `_.
63
-
64
- - |Efficiency | :class: `preprocessing.PolynomialFeatures ` now supports compressed
65
- sparse row (CSR) matrices as input for degrees 2 and 3. This is typically much
66
- faster than the dense case as it scales with matrix density and expansion degree
67
- (on the order of density^degree), and is much, much faster than the compressed
68
- sparse column (CSC) case. :issue: `12197 ` by :user: `Andrew Nystrom <awnystrom> `.
69
50
70
- - |Efficiency | |API | Speed improvement in :class: `preprocessing.PolynomialFeatures `,
71
- in the dense case. Also added a new parameter ``order `` which controls output
72
- order for further speed performances. :issue: `12251 ` by `Tom Dupre la Tour `_.
73
-
74
- :mod: `sklearn.pipeline `
75
- .......................
76
-
77
- - |API | :class: `pipeline.Pipeline ` now supports using ``'passthrough' `` as a
78
- transformer. :issue: `11144 ` by :user: `thomasjpfan `.
79
-
80
- :mod: `sklearn.tree `
81
- ...................
82
- - Decision Trees can now be plotted with matplotlib using
83
- :func: `tree.export.plot_tree ` without relying on the ``dot `` library,
84
- removing a hard-to-install dependency.
85
- :issue: `8508 ` by `Andreas Müller `_.
86
-
87
- - |Feature | ``get_n_leaves() `` and ``get_depth() `` have been added to
88
- :class: `tree.BaseDecisionTree ` and consequently all estimators based
89
- on it, including :class: `tree.DecisionTreeClassifier `,
90
- :class: `tree.DecisionTreeRegressor `, :class: `tree.ExtraTreeClassifier `,
91
- and :class: `tree.ExtraTreeRegressor `.
92
- :issue: `12300 ` by :user: `Adrin Jalali <adrinjalali> `.
51
+ :mod: `sklearn.linear_model `
52
+ ...........................
93
53
54
+ - |Fix | Fixed a bug in :class: `linear_model.MultiTaskElasticNet ` and
55
+ :class: `linear_model.MultiTaskLasso ` which were breaking when
56
+ ``warm_start = True ``. :issue: `12360 ` by :user: `Aakanksha Joshi <joaak> `.
94
57
95
58
:mod: `sklearn.metrics `
96
59
......................
@@ -99,17 +62,14 @@ Support for Python 3.4 and below has been officially dropped.
99
62
``'max_error' `` scorer for single output regression.
100
63
:issue: `12232 ` by :user: `Krishna Sangeeth <whiletruelearn> `.
101
64
102
- :mod: `sklearn.metrics `
103
- ......................
104
-
105
65
- |Feature | Add :func: `metrics.multilabel_confusion_matrix `, which calculates a
106
66
confusion matrix with true positive, false positive, false negative and true
107
67
negative counts for each class. This facilitates the calculation of set-wise
108
68
metrics such as recall, specificity, fall out and miss rate.
109
69
:issue: `11179 ` by :user: `Shangwu Yao <ShangwuYao> ` and `Joel Nothman `_.
110
70
111
71
:mod: `sklearn.neighbors `
112
- ......................
72
+ ........................
113
73
114
74
- |API | Methods in :class: `neighbors.NearestNeighbors ` :
115
75
:func: `~neighbors.NearestNeighbors.kneighbors `,
@@ -120,6 +80,42 @@ Support for Python 3.4 and below has been officially dropped.
120
80
when called before fit :issue: `12279 ` by :user: `Krishna Sangeeth
121
81
<whiletruelearn> `.
122
82
83
+ :mod: `sklearn.pipeline `
84
+ .......................
85
+
86
+ - |API | :class: `pipeline.Pipeline ` now supports using ``'passthrough' `` as a
87
+ transformer. :issue: `11144 ` by :user: `Thomas Fan <thomasjpfan> `.
88
+
89
+ :mod: `sklearn.preprocessing `
90
+ ............................
91
+
92
+ - |Efficiency | Make :class: `preprocessing.MultiLabelBinarizer ` to cache class
93
+ mappings instead of calculating it every time on the fly.
94
+ :issue: `12116 ` by :user: `Ekaterina Krivich <kiote> ` and `Joel Nothman `_.
95
+
96
+ - |Efficiency | :class: `preprocessing.PolynomialFeatures ` now supports compressed
97
+ sparse row (CSR) matrices as input for degrees 2 and 3. This is typically much
98
+ faster than the dense case as it scales with matrix density and expansion degree
99
+ (on the order of density^degree), and is much, much faster than the compressed
100
+ sparse column (CSC) case. :issue: `12197 ` by :user: `Andrew Nystrom <awnystrom> `.
101
+
102
+ - |Efficiency | |API | Speed improvement in :class: `preprocessing.PolynomialFeatures `,
103
+ in the dense case. Also added a new parameter ``order `` which controls output
104
+ order for further speed performances. :issue: `12251 ` by `Tom Dupre la Tour `_.
105
+
106
+ :mod: `sklearn.tree `
107
+ ...................
108
+ - Decision Trees can now be plotted with matplotlib using
109
+ :func: `tree.export.plot_tree ` without relying on the ``dot `` library,
110
+ removing a hard-to-install dependency. :issue: `8508 ` by `Andreas Müller `_.
111
+
112
+ - |Feature | ``get_n_leaves() `` and ``get_depth() `` have been added to
113
+ :class: `tree.BaseDecisionTree ` and consequently all estimators based
114
+ on it, including :class: `tree.DecisionTreeClassifier `,
115
+ :class: `tree.DecisionTreeRegressor `, :class: `tree.ExtraTreeClassifier `,
116
+ and :class: `tree.ExtraTreeRegressor `.
117
+ :issue: `12300 ` by :user: `Adrin Jalali <adrinjalali> `.
118
+
123
119
Multiple modules
124
120
................
125
121
@@ -132,4 +128,4 @@ These changes mostly affect library developers.
132
128
:func: `~utils.estimator_checks.check_estimator `, which checks that
133
129
when `fit ` is called twice with the same data, the ouput of
134
130
`predit `, `predict_proba `, `transform `, and `decision_function ` does not
135
- change. :issue: `12328 ` by :user: `Nicolas Hug<NicolasHug> `
131
+ change. :issue: `12328 ` by :user: `Nicolas Hug <NicolasHug> `
0 commit comments