classmap: Visualizing Classification Results

Tools to visualize the results of a classification of cases. The graphical displays include stacked plots, silhouette plots, quasi residual plots, and class maps. Implements the techniques described and illustrated in Raymaekers J., Rousseeuw P.J., Hubert M. (2021). Class maps for visualizing classification results. \emph{Technometrics}, 64(2), 151–165. \doi{10.1080/00401706.2021.1927849} (open access) and Raymaekers J., Rousseeuw P.J.(2021). Silhouettes and quasi residual plots for neural nets and tree-based classifiers. \emph{Journal of Computational and Graphical Statistics}, 31(4), 1332–1343. \doi{10.1080/10618600.2022.2050249}. Examples can be found in the vignettes: "Discriminant_analysis_examples","K_nearest_neighbors_examples", "Support_vector_machine_examples", "Rpart_examples", "Random_forest_examples", and "Neural_net_examples".

Version: 1.2.4
Depends: R (≥ 4.1.0)
Imports: stats, graphics, ggplot2, robustbase, e1071, cellWise, cluster, kernlab, gridExtra, rpart, randomForest
Suggests: knitr, reshape2, svd, rpart.plot, nnet, robCompositions
Published: 2025-05-13
DOI: 10.32614/CRAN.package.classmap
Author: Jakob Raymaekers [aut, cre], Peter Rousseeuw [aut]
Maintainer: Jakob Raymaekers <jakob.raymaekers at kuleuven.be>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://doi.org/10.1080/00401706.2021.1927849, https://doi.org/10.1080/10618600.2022.2050249
NeedsCompilation: no
CRAN checks: classmap results

Documentation:

Reference manual: classmap.pdf
Vignettes: Discriminant_analysis_examples (source, R code)
K_nearest_neighbors_examples (source, R code)
Neural_net_examples (source, R code)
Random_forest_examples (source, R code)
Rpart_examples (source, R code)
Support_vector_machine_examples (source, R code)

Downloads:

Package source: classmap_1.2.4.tar.gz
Windows binaries: r-devel: classmap_1.2.4.zip, r-release: classmap_1.2.4.zip, r-oldrel: classmap_1.2.3.zip
macOS binaries: r-release (arm64): classmap_1.2.4.tgz, r-oldrel (arm64): classmap_1.2.4.tgz, r-release (x86_64): classmap_1.2.3.tgz, r-oldrel (x86_64): classmap_1.2.3.tgz
Old sources: classmap archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=classmap to link to this page.