Print cv.enpls object.
Usage
# S3 method for cv.enpls
print(x, ...)
Arguments
- x
An object of class
cv.enpls
.- ...
Additional parameters for
print
.
See also
See cv.enpls
for cross-validation of ensemble
partial least squares regression models.
Author
Nan Xiao <https://nanx.me>
Examples
data("alkanes")
x <- alkanes$x
y <- alkanes$y
set.seed(42)
cvfit <- cv.enpls(x, y, reptimes = 10)
#> Beginning fold 1
#> Beginning fold 2
#> Beginning fold 3
#> Beginning fold 4
#> Beginning fold 5
cvfit
#> Cross Validation Result for Ensemble Partial Least Squares
#> ---
#> RMSE = 3.6481
#> MAE = 2.515792
#> Rsquare = 0.999961