Learn R Programming

jointseg (version 1.0.3)

defaultWeights: Compute default weights for the weighted group fused Lasso

Description

Compute default weights for the weighted group fused Lasso

Usage

defaultWeights(n)

Value

Vector of default weights in the reference article.

Arguments

n

Number of observations

Author

Morgane Pierre-Jean and Pierre Neuvial

References

Bleakley, K., & Vert, J. P. (2011). The group fused lasso for multiple change-point detection. arXiv preprint arXiv:1106.4199.

Examples

Run this code

defaultWeights(10)

Run the code above in your browser using DataLab