View source: R/weigthing_fct.R
Weigthing function for selected features, according to the performance in the outer loop
1 | weighting_fct(out.mat, t.times, cv.out, out.sc, n1)
|
out.mat |
matrix of dimension t.times*folds times features according to training set selections. 0/1 matrix: 1 (0) if the feature was (not) selected in the run |
t.times |
number of times the cross-validation should be repeated |
cv.out |
number of folds in outer cross validation loop (for estimation of the predictive accuracy) |
out.sc |
matrix of t.times (of repeated cross validation) times folds (number of outer CV folds) of prediction accuracy evaluations |
n1 |
parameter for functions of two different weighting functions. Deviation from average performance leading to double weight of selected coefficients. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.