L1TrendFiltering.jl
In this week, I noticed there is no l1 trend filtering package in julia. I’m happy to share this package. You can test julia l1tf
function as following:
using L1TrendFiltering
using Plots, CSV, DataFrames
y = snp500
result = l1tf(y, 50, verbose = true)
x = result.x
plot(ylabel = "log(price)")
plot!(y, label = "S&P500")
plot!(x, label = "l1tf")
▲ original matlab version
▲ L1TrendFiltering.jl