weighting_fct: Weigthing function for selected features

Description Usage Arguments

View source: R/weigthing_fct.R

Description

Weigthing function for selected features, according to the performance in the outer loop

Usage

1
weighting_fct(out.mat, t.times, cv.out, out.sc, n1)

Arguments

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.


SurvRank documentation built on May 30, 2017, 2:53 a.m.