Description Usage Arguments Value Author(s) See Also
Wrapped version of the pamr package implementation. Note that this function uses internal cross-validation for determining the value of the shrinkage threshold.
1 2 |
x |
Dataset, numerical matrix with observations as rows. |
y |
Class labels, factor. |
error_fun |
Error function for tuning. |
cv |
Cross-validation scheme for shrinkage tuning. It should be supplied on one of the following forms:
|
nfold |
Sent to |
threshold |
Shrinkage thresholds to try (referred to as 'lambda' in the
literature). Chosen and tuned automatically by default, but must be given
by the user if not tuned (see the |
... |
Sent to |
thres_fun |
Threshold selection function. Note that it is not uncommon that several thresholds will result in the same tuning error. |
slim |
Set to |
Fitted pamr classifier.
Christofer Bäcklin
emil
, predict_pamr
,
importance_pamr
, modeling_procedure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.