enpls.en: Ensemble Partial Least Squares Regression

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/enpls.en.R

Description

This function performs ensemble partial least squares regression.

Usage

1
2
enpls.en(x, y, maxcomp = NULL, MCtimes = 500L, method = c("mc",
  "bootstrap"), ratio = 0.8, parallel = 1L)

Arguments

x

predictor matrix

y

response vector

maxcomp

Maximum number of components included within the models, if not specified, default is the variable (column) numbers in x.

MCtimes

times of Monte-Carlo

method

"mc" or "bootstrap". Default is "mc".

ratio

sample ratio used when method = "mc"

parallel

Integer. Number of parallel processes to use. Default is 1, which means run serially.

Details

This function performs ensemble partial least squares regression.

Value

A list containing all PLS model objects.

Author(s)

Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <road2stat@gmail.com>

References

Dongsheng Cao, Yizeng Liang, Qingsong Xu, Yifeng Yun, and Hongdong Li. "Toward better QSAR/QSPR modeling: simultaneous outlier detection and variable selection using distribution of model features." Journal of computer-aided molecular design 25, no. 1 (2011): 67–80.

See Also

See enpls.fs for feature selection with ensemble PLS. See enpls.od for outlier detection with ensemble PLS. See enpls.ad for applicability domain with ensemble PLS.

Examples

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

set.seed(42)
enpls.fit = enpls.en(x, y, MCtimes = 10)
print(enpls.fit)
predict(enpls.fit, newx = x)

wind22zhu/enpls1.2 documentation built on May 4, 2019, 6:31 a.m.