Skip to content

trevor-harris/LassoExamples

Repository files navigation

LassoExamples

LassoFunctions.R - wrappers for soft-thresholding function, objective function and simple coordinate descent with fixed number of iterations and p=2

Example1.R - small LASSO example with p=2 (no scaling, no intercept)

Example2.R - small LASSO example with p=2 (requires scaling, no intercept)

Example3.R - small LASSO example with p=2 (requires both centering and scaling)

CVforRidge_Starter.R - small ridge example to practice CV splits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages