Description Usage Arguments Author(s) References Examples
View source: R/plot.sparsestep.R
Plot the coefficients of the SparseStep path
1 2 |
x |
a |
... |
further argument to matplot |
Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons
Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com>
Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). SparseStep: Approximating the Counting Norm for Sparse Regularization, arXiv preprint arXiv:1701.06967 [stat.ME]. URL https://arxiv.org/abs/1701.06967.
1 2 3 4 5 6 | x <- matrix(rnorm(100*20), 100, 20)
y <- rnorm(100)
fit <- sparsestep(x, y)
plot(fit)
pth <- path.sparsestep(x, y)
plot(pth)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.