Visualizing Exclusive Lasso Regularization Paths
# S3 method for ExclusiveLassoFit plot( x, xvar = c("norm", "lambda", "l1"), label = FALSE, legend = "topright", ... )
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") |