Plots a heatmap that shows base classifier performance.
plotBaseClassifier(
x = NULL,
classNames = NULL,
symmetric = FALSE,
main = "summary of base classifiers",
xlab = "second class",
ylab = "first class",
digits = 3,
ignore = 0,
first.colors = c("#f5f5f5", "#8c510a"),
second.colors = c("#f5f5f5", "#01665e"),
na.color = c("yellow"),
las = 1,
color.key = TRUE,
cex = 1,
cex.lab = 1,
...
)
A Conf object as it is returned by conf
-function.
Vector of the original class names. If not given the class number is used instead.
Logical indicating whether a symmetric base classifier (TRUE) is used.
See plot
.
A title for the x axis (see plot
).
A title for the y axis (see plot
).
Integer indicating the number of decimal places to be used (see round
).
A numeric value between 0 and 1. All confusion and purity values below this number are not written as string into the corresponding element.
A 2-element vector of the color for the minimal and maximal class-wise sensitivity of the first class. The color palette is calcuated by an interpolation between the 2 given colors.
A 2-element vector of the color for the minimal and maximal class-wise sensitivity of the second class. The color palette is calcuated by an interpolation between the 2 given colors.
Color, which is used for indicating the empty elements (if the given class is not part of the cascade).
See par
.
Specifies whether a color key is drawn (TRUE) or not (FALSE).
See par
.
See par
.
Further arguments passed from other methods.
No return value, called to generate the heatmap plot.
This function plots a heatmap of the base classifier performance.