Plot filter values using ggplot2.
Usage
plotFilterValues(
fvalues,
sort = "dec",
n.show = nrow(fvalues$data),
filter = NULL,
feat.type.cols = FALSE
)
Arguments
- fvalues
(FilterValues)
Filter values.- sort
(
character(1)
)
Available options are:"dec"
-> descending"inc"
-> increasing"none"
-> no sorting
Default is decreasing.
- n.show
(
integer(1)
)
Number of features (maximal) to show. Default is to plot all features.- filter
(
character(1)
) In casefvalues
contains multiple filter methods, which method should be plotted?- feat.type.cols
(
logical(1)
)
Whether to color different feature types (e.g. numeric | factor). Default is to use no colors (feat.type.cols = FALSE
).
See also
Other filter:
filterFeatures()
,
generateFilterValuesData()
,
getFilteredFeatures()
,
listFilterEnsembleMethods()
,
listFilterMethods()
,
makeFilterEnsemble()
,
makeFilterWrapper()
,
makeFilter()
Other generate_plot_data:
generateCalibrationData()
,
generateCritDifferencesData()
,
generateFeatureImportanceData()
,
generateFilterValuesData()
,
generateLearningCurveData()
,
generatePartialDependenceData()
,
generateThreshVsPerfData()
Examples
fv = generateFilterValuesData(iris.task, method = "variance")
plotFilterValues(fv)