The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

classmap: Visualizing Classification Results

Tools to visualize the results of a classification or a regression. The graphical displays include stacked plots, silhouette plots, quasi residual plots, class maps, predictions plots, and predictions correlation plots. Implements the techniques described and illustrated in Raymaekers J., Rousseeuw P.J., Hubert M. (2022). Class maps for visualizing classification results. \emph{Technometrics}, 64(2), 151–165. \doi{10.1080/00401706.2021.1927849} (open access), Raymaekers J., Rousseeuw P.J.(2022). 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}, and Rousseeuw, P.J. (2025). Explainable Linear and Generalized Linear Models by the Predictions Plot. <doi:10.48550/arXiv.2412.16980> (open access). Examples can be found in the vignettes: "Discriminant_analysis_examples","K_nearest_neighbors_examples", "Support_vector_machine_examples", "Rpart_examples", "Random_forest_examples", "Neural_net_examples", and "predsplot_examples".

Version: 1.2.6
Depends: R (≥ 4.1.0)
Imports: stats, graphics, ggplot2, robustbase, e1071, cellWise, cluster, kernlab, gridExtra, rpart, randomForest, scales
Suggests: knitr, reshape2, svd, rpart.plot, nnet, robCompositions, rmarkdown, fairml, robustHD
Published: 2025-07-14
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, https://arxiv.org/abs/2412.16980
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)
predsplot_examples (source, R code)

Downloads:

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

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.