defaultWeights: Compute default weights for the weighted group fused Lasso

View source: R/defaultWeights.R

defaultWeightsR Documentation

Compute default weights for the weighted group fused Lasso

Description

Compute default weights for the weighted group fused Lasso

Usage

defaultWeights(n)

Arguments

n

Number of observations

Value

Vector of default weights in the reference article.

Note

This implementation is derived from the MATLAB code by Vert and Bleakley: http://cbio.ensmp.fr/GFLseg.

Author(s)

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


defaultWeights(10)


jointseg documentation built on June 8, 2025, 11:15 a.m.