Description Usage Arguments Value Note Author(s) See Also Examples
Outlier detection with ensemble sparse partial least squares.
1 2 3 |
x |
Predictor matrix. |
y |
Response vector. |
maxcomp |
Maximum number of components included within each model.
If not specified, will use |
cvfolds |
Number of cross-validation folds used in each model
for automatic parameter selection, default is |
alpha |
Parameter (grid) controlling sparsity of the model.
If not specified, default is |
reptimes |
Number of models to build with Monte-Carlo resampling or bootstrapping. |
method |
Resampling method. |
ratio |
Sampling ratio used when |
parallel |
Integer. Number of CPU cores to use.
Default is |
A list containing four components:
error.mean
- error mean for all samples (absolute value)
error.median
- error median for all samples
error.sd
- error sd for all samples
predict.error.matrix
- the original prediction error matrix
To maximize the probablity that each observation can
be selected in the test set (thus the prediction uncertainty
can be measured), please try setting a large reptimes
.
Nan Xiao <https://nanx.me>
See enspls.fs
for measuring feature importance
with ensemble sparse partial least squares regressions.
See enspls.fit
for fitting ensemble sparse
partial least squares regression models.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.