Print enpls.ad Object

Share:

Description

Print enpls.ad object.

Usage

1
2
## S3 method for class 'enpls.ad'
print(x, ...)

Arguments

x

An object of class enpls.ad.

...

Additional parameters for print.

Author(s)

Nan Xiao <http://nanx.me>

See Also

See enpls.ad for model applicability domain evaluation with ensemble partial least squares regressions.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
data("alkanes")
x = alkanes$x
y = alkanes$y

# training set
x.tr = x[1:100, ]
y.tr = y[1:100]

# two test sets
x.te = list("test.1" = x[101:150, ],
            "test.2" = x[151:207, ])
y.te = list("test.1" = y[101:150],
            "test.2" = y[151:207])

set.seed(42)
ad = enpls.ad(x.tr, y.tr, x.te, y.te,
              space = "variable", method = "mc",
              ratio = 0.9, reptimes = 50)
print(ad)

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