File: plotFilterValues.Rd

package info (click to toggle)
r-cran-mlr 2.19.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,264 kB
  • sloc: ansic: 65; sh: 13; makefile: 5
file content (74 lines) | stat: -rw-r--r-- 1,942 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generateFilterValues.R
\name{plotFilterValues}
\alias{plotFilterValues}
\title{Plot filter values using ggplot2.}
\usage{
plotFilterValues(
  fvalues,
  sort = "dec",
  n.show = nrow(fvalues$data),
  filter = NULL,
  feat.type.cols = FALSE
)
}
\arguments{
\item{fvalues}{(\link{FilterValues})\cr
Filter values.}

\item{sort}{(\code{character(1)})\cr
Available options are:
\itemize{
\item \code{"dec"}-> descending
\item \code{"inc"} -> increasing
\item \code{"none"} -> no sorting
}

Default is decreasing.}

\item{n.show}{(\code{integer(1)})\cr
Number of features (maximal) to show.
Default is to plot all features.}

\item{filter}{(\code{character(1)})
In case \code{fvalues} contains multiple filter methods, which method should be
plotted?}

\item{feat.type.cols}{(\code{logical(1)})\cr
Whether to color different feature types (e.g. numeric | factor).
Default is to use no colors (\code{feat.type.cols = FALSE}).}
}
\value{
ggplot2 plot object.
}
\description{
Plot filter values using ggplot2.
}
\examples{
\dontshow{ if (requireNamespace("FSelectorRcpp")) \{ }
fv = generateFilterValuesData(iris.task, method = "variance")
plotFilterValues(fv)
\dontshow{ \} }
}
\seealso{
Other filter: 
\code{\link{filterFeatures}()},
\code{\link{generateFilterValuesData}()},
\code{\link{getFilteredFeatures}()},
\code{\link{listFilterEnsembleMethods}()},
\code{\link{listFilterMethods}()},
\code{\link{makeFilter}()},
\code{\link{makeFilterEnsemble}()},
\code{\link{makeFilterWrapper}()}

Other generate_plot_data: 
\code{\link{generateCalibrationData}()},
\code{\link{generateCritDifferencesData}()},
\code{\link{generateFeatureImportanceData}()},
\code{\link{generateFilterValuesData}()},
\code{\link{generateLearningCurveData}()},
\code{\link{generatePartialDependenceData}()},
\code{\link{generateThreshVsPerfData}()}
}
\concept{filter}
\concept{generate_plot_data}