barplot_fs {EFS} | R Documentation |
Visualization of ensemble_fs
in barplot
Description
Generates a barplot from
the output of ensemble_fs
and produces
a pdf-file. This file will be located in the working
directory. A barplot will only be provided, when the number
of features does not exceed 100.
x-axis: sum of all normed importance values of each
feature ranging from 0 to 1
y-axis: names of features
If the number of features is greater or equal to 100,
a barplot of the summed up importance over all FS method
is created.
x-axis: features; y-axis: importance values
If order = TRUE
the bars will be ordered in an increasing
order bottom up (i.e., the most important parameter are on top).
Usage
barplot_fs(name, efs_table, order = TRUE)
Arguments
name |
a character string giving the name of the file. If it is NULL, then no external file is created (effectively, no drawing occurs), but the device may still be queried. |
efs_table |
a table object of class matrix (retrieved
from |
order |
a logical value indicating whether the bars should be sorted in descending order or not |
Author(s)
Ursula Neumann
See Also
Examples
## Loading dataset in environment
data(efsdata)
## Generate a ranking based on inportance (with default
## NA_threshold = 0.7,cor_threshold = 0.2)
efs <- ensemble_fs(efsdata ,5 ,runs=2)
## Create a cumulative barplot based on the output from efs
barplot_fs("test", efs, order = TRUE)