Learn R Programming

genlasso

Path algorithm for generalized lasso problems

This package computes the solution path for generalized lasso problems. Important use cases are the fused lasso over an arbitrary graph, and trend fitting of any given polynomial order. Specialized implementations for the latter two subproblems are given to improve stability and speed.

Copy Link

Version

Install

install.packages('genlasso')

Monthly Downloads

449

Version

1.6.1

License

GPL (>= 2.0)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

August 22nd, 2022

Functions in genlasso (1.6.1)

softthresh

Fit a sparse variant of the fused lasso
coef.genlasso

Extract cefficients from a genlasso object
predict.genlasso

Make predictions given a genlasso object
cv.trendfilter

Perform k-fold cross-validation to choose a trend filtering model
getDxx

Helper functions for constructing generalized lasso penalty matrices
genlasso

Compute the generalized lasso solution path for arbitrary penalty matrix
plot.genlasso

Plotting methods for generalized lasso objects
iterate

Iterate a genlasso object
fusedlasso

Compute the fused lasso solution path for a general graph, or a 1d or 2d grid
trendfilter

Compute the trend filtering solution path for any polynomial order
genlasso-package

Package to compute the solution path of generalized lasso problems