Package: L0TFinv 0.1.0
L0TFinv: A Splicing Approach to the Inverse Problem of L0 Trend Filtering
Trend filtering is a widely used nonparametric method for knot detection. This package provides an efficient solution for L0 trend filtering, avoiding the traditional methods of using Lagrange duality or Alternating Direction Method of Multipliers algorithms. It employ a splicing approach that minimizes L0-regularized sparse approximation by transforming the L0 trend filtering problem. The package excels in both efficiency and accuracy of trend estimation and changepoint detection in segmented functions. References: Wen et al. (2020) <doi:10.18637/jss.v094.i04>; Zhu et al. (2020)<doi:10.1073/pnas.2014241117>; Wen et al. (2023) <doi:10.1287/ijoc.2021.0313>.
Authors:
L0TFinv_0.1.0.tar.gz
L0TFinv_0.1.0.zip(r-4.7-any)L0TFinv_0.1.0.zip(r-4.6-any)L0TFinv_0.1.0.zip(r-4.5-any)
L0TFinv_0.1.0.tgz(r-4.6-any)L0TFinv_0.1.0.tgz(r-4.5-any)
L0TFinv_0.1.0.tar.gz(r-4.7-any)L0TFinv_0.1.0.tar.gz(r-4.6-any)
L0TFinv_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
L0TFinv/json (API)
| # Install 'L0TFinv' in R: |
| install.packages('L0TFinv', repos = c('https://thaowang.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/c2s2-hf/inversel0tf/issues
Last updated from:b4780ea907. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 131 | ||
| source / vignettes | OK | 322 | ||
| linux-release | OK | 269 | ||
| macos-release | OK | 236 | ||
| macos-oldrel | OK | 201 | ||
| windows-devel | OK | 99 | ||
| windows-release | OK | 318 | ||
| windows-oldrel | OK | 92 | ||
| wasm-release | OK | 224 |
Exports:DiffMatL0TFinv.fixL0TFinv.optSimuBlocksInvSimuWaveInvsolMatTFmetricsXMat
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglatticelifecycleMatrixR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| A package for L0-regularized sparse approximation | L0TFinv-package |
| Extract estimated trends | coef.L0TFinvfix coef.L0TFinvopt |
| Generate a difference matrix | DiffMat |
| The inverse L0 trend filtering with fixed change points | L0TFinv.fix |
| The inverse L0 trend filtering with optimal change points | L0TFinv.opt |
| Plot L0TFinvfix or L0TFinvopt object | plot.L0TFinvfix plot.L0TFinvopt |
| Print L0TFinvfix or L0TFinvopt object | print.L0TFinvfix print.L0TFinvopt |
| Simulate Blocks Data | SimuBlocksInv |
| Simulate Wave Data | SimuWaveInv |
| Generate the inverse of the crossprod matrix | solMat |
| Print four metrics about change point detection results | TFmetrics |
| Generate an artificial design matrix | XMat |
