I wrote a program in R Markdown that shows how the lasso regression model works. It has too many pictures to be easily ported to this blog, so I’ll share a link to a pdf file instead. You can also find the R Markdown code at my github repository.

You can find an earlier version of this page on my blog.