Description Usage Arguments Value See Also
View source: R/classification.R
Compute and return importance scores (Relief-F scores)
1 2 3 4 5 6 7 8 9 | getImportanceScores(
train.set = NULL,
holdout.set = NULL,
label = "class",
importance.name = "relieff",
importance.algorithm = "ReliefFequalK",
relief.k.method = "k_half_sigma",
verbose = FALSE
)
|
train.set |
A training data frame with last column as outcome |
holdout.set |
A holdout data frame with last column as outcome |
label |
A character vector of the outcome variable column name. class/qtrait for classification/regression |
importance.name |
A list importance operation parameters |
importance.algorithm |
A character vector of the ReliefF estimator |
relief.k.method |
A character of numeric to indicate number of nearest neighbors for relief algorithm. Possible characters are: k_half_sigma (floor((num.samp-1)*0.154)), m6 (floor(num.samp/6)), myopic (floor((num.samp-1)/2)), and m4 (floor(num.samp/4)) |
verbose |
A flag indicating whether verbose output be sent to stdout |
A list with two data frames representing the importance scores (Relief-F scores) for the train and holdout data sets.
Other classification:
epistasisRank()
,
originalThresholdout()
,
privateEC()
,
privateRF()
,
standardRF()
,
xgboostRF()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.