powered by
Print enspls.fs object.
# S3 method for enspls.fs print(x, sort = TRUE, nvar = NULL, ...)
An object of class enspls.fs.
enspls.fs
Should the variables be sorted in decreasing order of importance?
Number of top variables to show. Ignored if sort = FALSE.
sort = FALSE
Additional parameters for print.
print
See enspls.fs for measuring feature importance with ensemble sparse partial least squares regressions.
# NOT RUN { data("logd1k") x <- logd1k$x y <- logd1k$y set.seed(42) fs <- enspls.fs( x, y, reptimes = 5, maxcomp = 3, alpha = c(0.3, 0.6, 0.9) ) print(fs, nvar = 10L) # }
Run the code above in your browser using DataLab