Print Fitted Ensemble Sparse Partial Least Squares Object

Share:

Description

Print coefficients of each model in the enspls.fit object.

Usage

1
2
## S3 method for class 'enspls.fit'
print(x, ...)

Arguments

x

An object of class enspls.fit.

...

Additional parameters for print.

Author(s)

Nan Xiao <http://nanx.me>

See Also

See enspls.fit for fitting ensemble sparse partial least squares regression models.

Examples

1
2
3
4
5
6
7
8
data("logd1k")
x = logd1k$x
y = logd1k$y

set.seed(42)
fit = enspls.fit(x, y, reptimes = 5, maxcomp = 3,
                 alpha = c(0.3, 0.6, 0.9))
print(fit)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.