Methods for topTable. topTable extracts the top n most important features for a given classification or regression procedure.
methods
## S4 method for signature 'nlcv'topTable(fit, n =5, method ="percentage")
Arguments
fit: object resulting from a classification or regression procedure
n: number of features that one wants to extract from a table that ranks all features according to their importance in the classification or regression model
method: method used to rank the features; one of percentage
(percentage of runs the feature is selected in the top n), meanrank
(mean rank of the feature across runs) or medianrank (median rank of the feature across runs); percentage is the default method
Returns
a data frame of one column (percentage) with percentages reflecting the frequency of selection of a feature in the top n across all runs; the features are sorted on decreasing frequency.
Details
The top n features are extracted across all runs of the nested loop cross-validation. After ranking on their frequency of selection, the top n are retained and returned.
Methods
fit = "nlcv": nlcv objects are produced by nlcv
Examples
data(nlcvRF_SS) topTable(nlcvRF_SS, n =7, method ="medianrank")