10000 MNT Fix the formatting of the what's new entries for 1.7 (#31272) · scikit-learn/scikit-learn@c4760ba · GitHub
[go: up one dir, main page]

Skip to content

Commit c4760ba

Browse files
authored
MNT Fix the formatting of the what's new entries for 1.7 (#31272)
1 parent 9ba4f91 commit c4760ba

File tree

9 files changed

+34
-35
lines changed

9 files changed

+34
-35
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
- :class:`feature_selection.RFECV` now gives access to the ranking and support in each
2-
iteration and cv step of feature selection.
2+
iteration and cv step of feature selection.
33
By :user:`Marie S. <MarieSacksick>`
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- |Enhancement| Added a new parameter `tol` to
2-
:class:`linear_model.LinearRegression` that determines the precision of the
3-
solution `coef_` when fitting on sparse data.
4-
By :user:`Success Moses <SuccessMoses>`
1+
- |Enhancement| Added a new parameter `tol` to
2+
:class:`linear_model.LinearRegression` that determines the precision of the
3+
solution `coef_` when fitting on sparse data.
4+
By :user:`Success Moses <SuccessMoses>`
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
The parameter `n_alphas` has been deprecated in the following classes:
2-
:class:`linear_model.ElasticNetCV` and :class:`linear_model.LassoCV`
3-
and :class:`linear_model.MultiTaskElasticNetCV`
4-
and :class:`linear_model.MultiTaskLassoCV`, and will be removed in 1.9. The parameter
5-
`alphas` now supports both integers and array-likes, removing the need for `n_alphas`.
6-
From now on, only `alphas` should be set to either indicate the number of alphas to
7-
automatically generate (int) or to provide a list of alphas (array-like) to test along
8-
the regularization path.
9-
By :user:`Siddharth Bansal <KANNAHWORLD >`.
1+
- The parameter `n_alphas` has been deprecated in the following classes:
2+
:class:`linear_model.ElasticNetCV` and :class:`linear_model.LassoCV`
3+
and :class:`linear_model.MultiTaskElasticNetCV`
4+
and :class:`linear_model.MultiTaskLassoCV`, and will be removed in 1.9. The parameter
5+
`alphas` now supports both integers and array-likes, removing the need for `n_alphas`.
6+
From now on, only `alphas` should be set to either indicate the number of alphas to
7+
automatically generate (int) or to provide a list of alphas (array-like) to test along
8+
the regularization path.
9+
By :user:`Siddharth Bansal <KANNAHWORLD >`.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
- The update and initialization of the hyperparameters now properly handle
2-
sample weights in :class:`linear_model.BayesianRidge`.
3-
By :user:`Antoine Baker <antoinebaker>`.
1+
- The update and initialization of the hyperparameters now properly handle
2+
sample weights in :class:`linear_model.BayesianRidge`.
3+
By :user:`Antoine Baker <antoinebaker>`.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
:class:`manifold.MDS` will switch to use `n_init=1` by default,
2-
starting from version 1.9.
3-
By :user:`Dmitry Kobak <dkobak>`
1+
- :class:`manifold.MDS` will switch to use `n_init=1` by default,
2+
starting from version 1.9.
3+
By :user:`Dmitry Kobak <dkobak>`
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:class:`manifold.MDS` now uses `eps=1e-6` by default and the convergence
2-
criterion was adjusted to make sense for both metric and non-metric MDS
3-
and to follow the reference R implementation. The formula for normalized
4-
stress was adjusted to follow the original definition by Kruskal.
5-
By :user:`Dmitry Kobak <dkobak>`
1+
- :class:`manifold.MDS` now uses `eps=1e-6` by default and the convergence
2+
criterion was adjusted to make sense for both metric and non-metric MDS
3+
and to follow the reference R implementation. The formula for normalized
4+
stress was adjusted to follow the original definition by Kruskal.
5+
By :user:`Dmitry Kobak <dkobak>`
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
:class:`neural_network.MLPRegressor` now raises an informative error when
2-
`early_stopping` is set and the computed validation set is too small.
3-
By :user:`David Shumway <davidshumway>`.
1+
- :class:`neural_network.MLPRegressor` now raises an informative error when
2+
`early_stopping` is set and the computed validation set is too small.
3+
By :user:`David Shumway <davidshumway>`.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
21
- :func: `resample` now handles sample weights which allows
32
weighted resampling.
4-
:pr:`29907` by :user:`Shruti Nath <snath-xoc>` and :user:`Olivier Grisel
3+
By :user:`Shruti Nath <snath-xoc>` and :user:`Olivier Grisel
54
<ogrisel>`
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
- In :mod:`utils.estimator_checks` we now enforce for binary classifiers a
2-
binary `y` by taking the minimum as the negative class instead of the first
3-
element, which makes it robust to `y` shuffling. It prevents two checks from
4-
wrongly failing on binary classifiers.
5-
By :user:`Antoine Baker <antoinebaker>`.
1+
- In :mod:`utils.estimator_checks` we now enforce for binary classifiers a
2+
binary `y` by taking the minimum as the negative class instead of the first
3+
element, which makes it robust to `y` shuffling. It prevents two checks from
4+
wrongly failing on binary classifiers.
5+
By :user:`Antoine Baker <antoinebaker>`.

0 commit comments

Comments
 (0)
0