Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2507.22665

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Machine Learning

arXiv:2507.22665 (cs)
[Submitted on 30 Jul 2025]

Title:Cluster-Based Random Forest Visualization and Interpretation

Authors:Max Sondag, Christofer Meinecke, Dennis Collaris, Tatiana von Landesberger, Stef van den Elzen
View a PDF of the paper titled Cluster-Based Random Forest Visualization and Interpretation, by Max Sondag and 4 other authors
View PDF HTML (experimental)
Abstract:Random forests are a machine learning method used to automatically classify datasets and consist of a multitude of decision trees. While these random forests often have higher performance and generalize better than a single decision tree, they are also harder to interpret. This paper presents a visualization method and system to increase interpretability of random forests. We cluster similar trees which enables users to interpret how the model performs in general without needing to analyze each individual decision tree in detail, or interpret an oversimplified summary of the full forest. To meaningfully cluster the decision trees, we introduce a new distance metric that takes into account both the decision rules as well as the predictions of a pair of decision trees. We also propose two new visualization methods that visualize both clustered and individual decision trees: (1) The Feature Plot, which visualizes the topological position of features in the decision trees, and (2) the Rule Plot, which visualizes the decision rules of the decision trees. We demonstrate the efficacy of our approach through a case study on the "Glass" dataset, which is a relatively complex standard machine learning dataset, as well as a small user study.
Subjects: Machine Learning (cs.LG); Human-Computer Interaction (cs.HC)
Cite as: arXiv:2507.22665 [cs.LG]
  (or arXiv:2507.22665v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2507.22665
arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Max Sondag [view email]
[v1] Wed, 30 Jul 2025 13:22:28 UTC (22,991 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Cluster-Based Random Forest Visualization and Interpretation, by Max Sondag and 4 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
  • Other Formats
license icon view license
Ancillary-file links:

Ancillary files (details):

  • Interviews/Interview1NotesFromInterviewer1.txt
  • Interviews/Interview1NotesFromInterviewer2.txt
  • Interviews/Interview2NotesFromInterviewer2.txt
  • Interviews/Interview2NotesfromInterviewer1.txt
  • Interviews/IntroductionToStudy+Questions.pdf
  • Survey/Post_task_survey__Responses_.xlsx
  • Survey/SurveyQuestions.pdf
  • Video/Interaction_Demo_Compressed.mp4
  • code/RandomForestVis/README.md
  • code/RandomForestVis/backend/fastapi-rf.py
  • code/RandomForestVis/backend/requirements.txt
  • code/RandomForestVis/backend/static/Depth_data/RF_Glass-clean.csv
  • code/RandomForestVis/backend/static/Depth_data/RF_penguins_max_depth4.csv
  • code/RandomForestVis/backend/static/classification/classification_Glass-clean.json
  • code/RandomForestVis/backend/static/classification/classification_penguins_max_depth4.json
  • code/RandomForestVis/backend/static/clustering/complete_linkage_Glass-clean_rule_interval.json
  • code/RandomForestVis/backend/static/clustering/complete_linkage_penguins_max_depth4_rule_interval.json
  • code/RandomForestVis/backend/static/datasets/Glass-clean.csv
  • code/RandomForestVis/backend/static/datasets/Iris.csv
  • code/RandomForestVis/backend/static/datasets/penguins_max_depth4.csv
  • code/RandomForestVis/backend/static/models/random_forest_Glass-clean.joblib
  • code/RandomForestVis/backend/static/models/random_forest_penguins_max_depth4.joblib
  • code/RandomForestVis/backend/static/node_link/node_link_trees_Glass-clean.json
  • code/RandomForestVis/backend/static/node_link/node_link_trees_penguins_max_depth4.json
  • code/RandomForestVis/backend/static/projections/MDS_Glass-clean_projection.npy
  • code/RandomForestVis/backend/static/projections/MDS_penguins_max_depth4_projection.npy
  • code/RandomForestVis/backend/static/rules/Rule_Data_Glass-clean.json
  • code/RandomForestVis/backend/static/rules/Rule_Data_penguins_max_depth4.json
  • code/RandomForestVis/backend/static/trees/trees_Glass-clean_rule_interval.npy
  • code/RandomForestVis/backend/static/trees/trees_penguins_max_depth4_rule_interval.npy
  • code/RandomForestVis/dist/favicon.png
  • code/RandomForestVis/dist/index.html
  • code/RandomForestVis/dist/node_modules_pixi_js_lib_environment-browser_browserAll_mjs.bundle.js
  • code/RandomForestVis/dist/node_modules_pixi_js_lib_environment-webworker_webworkerAll_mjs.bundle.js
  • code/RandomForestVis/dist/style.css
  • code/RandomForestVis/js/Barcode/Barcode.ts
  • code/RandomForestVis/js/Barcode/LinkageSplits.ts
  • code/RandomForestVis/js/Barcode/Orderer.js
  • code/RandomForestVis/js/Barcode/Tooltip.ts
  • code/RandomForestVis/js/Barcode/Tree.ts
  • code/RandomForestVis/js/DataLoader.ts
  • code/RandomForestVis/js/Featureplot/Featureplot.ts
  • code/RandomForestVis/js/InputSlider.ts
  • code/RandomForestVis/js/Interactions.ts
  • code/RandomForestVis/js/Kernels.ts
  • code/RandomForestVis/js/LinearLayout.ts
  • code/RandomForestVis/js/Metrics/FeatureImportance.ts
  • code/RandomForestVis/js/Metrics/TreeDistance.ts
  • code/RandomForestVis/js/NodeLink.ts
  • code/RandomForestVis/js/Projection.ts
  • code/RandomForestVis/js/Sidebar/ClassChart.ts
  • code/RandomForestVis/js/Sidebar/FeatureChart.ts
  • code/RandomForestVis/js/Sidebar/Sidebar.ts
  • code/RandomForestVis/js/TextUtils.ts
  • code/RandomForestVis/js/Timing.ts
  • code/RandomForestVis/js/colors.ts
  • code/RandomForestVis/js/index.ts
  • code/RandomForestVis/js/types.ts
  • code/RandomForestVis/package-lock.json
  • code/RandomForestVis/package.json
  • code/RandomForestVis/scripts/RF_generateFP_data.ipynb
  • code/RandomForestVis/tsconfig.json
  • code/RandomForestVis/webpack.config.js
  • (58 additional files not shown)
Current browse context:
cs.LG
< prev   |   next >
new | recent | 2025-07
Change to browse by:
cs
cs.HC

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack