rankFeatures
function performs a Recursive Feature Elimination (RFE) on subsets of the feature matrix. For each subset the features are ranked according to the weight attributed by SVM at each round of elimination and the average rank of each feature over the subsets is returned. We recommand to save the object containing the ranked features for the following steps.
rankFeatures(data, cl = 1, halve.above = 100, valid.times = 10, kernel = "linear", cost = 1, gamma = 1, numcores = ifelse(.Platform$OS.type == "windows", 1, parallel::detectCores() - 1), file.prefix = NULL)
mcTune
is run.mcTune
is run.data(crm.features)
cost <- 1
gamma <- 1
#feature.ranking <- rankFeatures(data.granges=crm.features, cost=cost,gamma=gamma,
# kernel='linear', file.prefix = "test", halve.above=10)
Run the code above in your browser using DataLab