8000 ENH Sample weights for ElasticNetCV (#16449) · samronsin/scikit-learn@fee3b44 · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit fee3b44

Browse files
lorentzenchragramfortChristian Lorentzenthomasjpfan
authored andcommitted
ENH Sample weights for ElasticNetCV (scikit-learn#16449)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> Co-authored-by: Christian Lorentzen <lorentzen.ch@googlemail.com> Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
1 parent 2106944 commit fee3b44

File tree

3 files changed

+357
-84
lines changed

3 files changed

+357
-84
lines changed

doc/whats_new/v1.0.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,10 @@ Changelog
339339
complexity in the number of samples.
340340
:pr:`10027` by :user:`Albert Thomas <albertcthomas>`.
341341

342+
- |Feature| Added `sample_weight` parameter to
343+
:class:`linear_model.LassoCV` and :class:`linear_model.ElasticNetCV`.
344+
:pr:`16449` by :user:`Christian Lorentzen <lorentzenchr>`.
345+
342346
- |Efficiency| The implementation of :class:`linear_model.LogisticRegression`
343347
has been optimised for dense matrices when using `solver='newton-cg'` and
344348
`multi_class!='multinomial'`.
@@ -438,9 +442,9 @@ Changelog
438442
and :user:`Oliver Grisel <ogrisel>`.
439443

440444
- |Feature| :func:`metrics.mean_squared_log_error` now supports
441-
`squared=False`.
445+
`squared=False`.
442446
:pr:`20326` by :user:`Uttam kumar <helper-uttam>`.
443-
447+
444448
- |Efficiency| Improved speed of :func:`metrics.confusion_matrix` when labels
445449
are integral.
446450
:pr:`9843` by :user:`Jon Crall <Erotemic>`.

0 commit comments

Comments
 (0)
0