Visualizing Exclusive Lasso Regularization Paths
1 2 3 4 5 6 7 8 |
x |
An |
xvar |
Value to use on the x-axis (ordinate).
|
label |
Should variables be labeled? Set |
legend |
Should a legend of top variables (heuristically selcted) be displayed?
Set |
... |
Additional arguments passed to plotting functions n <- 200 p <- 500 groups <- rep(1:10, times=50) beta <- numeric(p); beta[1:10] <- 3 X <- matrix(rnorm(n * p), ncol=p) y <- X exfit <- exclusive_lasso(X, y, groups) plot(exfit) plot(exfit, legend=NULL, xvar="lambda") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.