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. (2026). Explainable Linear and Generalized Linear Models by the Predictions Plot. The American Statistician, 80, 157-163, <doi:10.1080/00031305.2025.2539235> (open access), and Montalcini, C., Rousseeuw, P.J. (2025). The bixplot: A variation on the boxplot suited for bimodal data, <doi:10.48550/arXiv.2510.09276> (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", "predsplot_examples", and "bixplot_examples".

Package details

AuthorJakob Raymaekers [aut, cre], Peter Rousseeuw [aut]
MaintainerJakob Raymaekers <jakob.raymaekers@kuleuven.be>
LicenseGPL (>= 2)
Version1.2.7
URL <doi:10.1080/00401706.2021.1927849> <doi:10.1080/10618600.2022.2050249> <doi:10.1080/00031305.2025.2539235> <doi:10.48550/arXiv.2510.09276>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("classmap")

Try the classmap package in your browser

Any scripts or data that you put into this service are public.

classmap documentation built on April 29, 2026, 5:10 p.m.