Skip to content

DOC rework the example presenting the regularization path of Lasso, Lasso-LARS, and Elastic Net #29963

Open

Description

@glemaitre

We recently merge two examples and the resulting example is shown here: https://scikit-learn.org/dev/auto_examples/linear_model/plot_lasso_lasso_lars_elasticnet_path.html

This example should be revisited where we should have more narrative in a tutorial-like style. Indeed, this example could explain in more details what is a regularization path and discuss the difference between Lasso and Lasso-LARS, and between Lasso and ElasticNet.

Some of the experiment are really closed to the one presented in this paper: https://hastie.su.domains/Papers/LARS/LeastAngle_2002.pdf

Activity

  1. added
    Needs Triage
    on Sep 29, 2024
  2. changed the title [-]DOC rework the example preseting the regularization path of Lasso, Lasso-LARS, and Elastic Net[/-] [+]DOC rework the example presenting the regularization path of Lasso, Lasso-LARS, and Elastic Net[/+] on Sep 29, 2024
  3. added and removed
    Needs Triage
    on Oct 1, 2024
  4. virchan commented on Oct 3, 2024

    @virchan
    Member

    I'd like to work on this issue, if it's available.

  5. Rachit23110261 commented on Oct 7, 2024

    @Rachit23110261
    Contributor

    @glemaitre I would like to ask for clarification regarding tutorial-like style. Do we have to explain the examples, like, explain how lasso -LARS works differently from lasso and elastic net regression through the example?

  6. glemaitre commented on Oct 7, 2024

    @glemaitre
    MemberAuthor

    Do we have to explain the examples, like, explain how lasso -LARS works differently from lasso and elastic net regression through the example?

    Kind of. Basically, since we want to show differences through those plots, I think that we need to:

    • first, introduce what is a regularization path
    • then, explain the difference between Lasso and ElasticNet regarding the regularization and look at the path because we will have something along the same line
    • finally explain the difference between Lasso and Lasso-LARS, that is related to the solver, and how it impacts the path also.
  7. shivamchhuneja commented on Jun 3, 2025

    @shivamchhuneja
    Contributor

    hi I'd like to pick this up, anything specific I should keep in mind apart from the discussion taken up already above?

    cc @StefanieSenger

  8. StefanieSenger commented on Jun 3, 2025

    @StefanieSenger
    Member

    @virchan is already working on this here: #30028

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions