varImp.gafs
Variable importances for GAs and SAs
Usage
"varImp"(object, metric = object$control$metric["external"], maximize = object$control$maximize["external"], ...)
"varImp"(object, metric = object$control$metric["external"], maximize = object$control$maximize["external"], ...)
Arguments
Details
A crude measure of importance is computed for thee two search procedures. At the end of a search process, the difference in the fitness values is computed for models with and without each feature (based on the search history). If a predictor has at least two subsets that include and did not include the predictor, a tstatistic is computed (otherwise a value of NA
is assigned to the predictor).
This computation is done separately for each resample and the tstatistics are averaged (NA
values are ignored) and this average is reported as the importance. If the fitness value should be minimized, the negative value of the tstatistic is used in the average.
As such, the importance score reflects the standardized increase in fitness that occurs when the predict is included in the subset. Values near zero (or negative) indicate that the predictor may not be important to the model.
Value

a data frame where the rownames are the predictor names and the column is the average tstatistic