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

Skip to content

Commit 0b1070c

Browse files
lorentzenchragramfortChristian Lorentzenthomasjpfan
authored
ENH Sample weights for ElasticNetCV (#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 509b9ff commit 0b1070c

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
433
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,10 @@ Changelog
329329
complexity in the number of samples.
330330
:pr:`10027` by :user:`Albert Thomas <albertcthomas>`.
331331

332+
- |Feature| Added `sample_weight` parameter to
333+
:class:`linear_model.LassoCV` and :class:`linear_model.ElasticNetCV`.
334+
:pr:`16449` by :user:`Christian Lorentzen <lorentzenchr>`.
335+
332336
- |Efficiency| The implementation of :class:`linear_model.LogisticRegression`
333337
has been optimised for dense matrices when using `solver='newton-cg'` and
334338
`multi_class!='multinomial'`.
@@ -428,9 +432,9 @@ Changelog
428432
and :user:`Oliver Grisel <ogrisel>`.
429

430434
- |Feature| :func:`metrics.mean_squared_log_error` now supports
431-
`squared=False`.
435+
`squared=False`.
432436
:pr:`20326` by :user:`Uttam kumar <helper-uttam>`.
433-
437+
434438
- |Efficiency| Improved speed of :func:`metrics.confusion_matrix` when labels
435439
are integral.
436440
:pr:`9843` by :user:`Jon Crall <Erotemic>`.

0 commit comments

Comments
 (0)
0