Compute default weights for the weighted group fused Lasso

1 |

`n` |
Number of observations |

Vector of default weights in the reference article.

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

Morgane Pierre-Jean and Pierre Neuvial

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

1 | ```
defaultWeights(10)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.