Papers › RuleMatrix: Visualizing and Understanding Classifiers with Rules

RuleMatrix: Visualizing and Understanding Classifiers with Rules

17 Jul 2018arXiv:1807.06228archive 2025-07-28

Yao Ming, Huamin Qu, Enrico Bertini

With the growing adoption of machine learning techniques, there is a surge of research interest towards making machine learning systems more transparent and interpretable. Various visualizations have been developed to help model developers understand, diagnose, and refine machine learning models. However, a large number of potential but neglected users are the domain experts with little knowledge of machine learning but are expected to work with machine learning systems. In this paper, we present an interactive visualization technique to help users with little expertise in machine learning to understand, explore and validate predictive models. By viewing the model as a black box, we extract a standardized rule-based knowledge representation from its input-output behavior. We design RuleMatrix, a matrix-based visualization of rules to help users navigate and verify the rules and the black-box model. We evaluate the effectiveness of RuleMatrix via two use cases and a usability study.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1807.06228")

Code

Syntology Ran 0 of 17 code samples harvested from 1 repository linked to this paper; 17 have no recorded run.

By repository: community (archive-listed): 17 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

rulematrix/rule-matrix-py mentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 0 ran; 0 honoured the contract we drafted; 17 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

17unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from rulematrix/rule-matrix-py. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

accuracy rulematrix/rule-matrix-py/rulematrix/metrics.py community (archive-listed) unverified MIT (permissive) · 1eeee0ccaf141825 · report
auc_score rulematrix/rule-matrix-py/rulematrix/metrics.py community (archive-listed) unverified MIT (permissive) · d3542621aac4348e · report
check_input_constraints rulematrix/rule-matrix-py/rulematrix/surrogate/sample.py community (archive-listed) unverified MIT (permissive) · 02e591dd6b1e1576 · report
compute_mdlp_all_intervals rulematrix/rule-matrix-py/rulematrix/surrogate/discretize.py community (archive-listed) unverified MIT (permissive) · c79736ac5b0a2bd0 · report
compute_support_matrix rulematrix/rule-matrix-py/rulematrix/visualization/data_model.py community (archive-listed) unverified MIT (permissive) · 242f789db4a0fa0a · report
create_constraint rulematrix/rule-matrix-py/rulematrix/surrogate/sample.py community (archive-listed) unverified MIT (permissive) · bbcc1d105e0a0c8d · report
create_constraints rulematrix/rule-matrix-py/rulematrix/surrogate/sample.py community (archive-listed) unverified MIT (permissive) · c103faf7972f2e5c · report
discretizer2json rulematrix/rule-matrix-py/rulematrix/utils.py community (archive-listed) unverified MIT (permissive) · 677a4296cd9b867b · report
dumps rulematrix/rule-matrix-py/rulematrix/utils.py community (archive-listed) unverified MIT (permissive) · b9ed416dd712f887 · report
filter_data rulematrix/rule-matrix-py/rulematrix/utils.py community (archive-listed) unverified MIT (permissive) · a8c4c235c66db7be · report
get_discretizer rulematrix/rule-matrix-py/rulematrix/surrogate/discretize.py community (archive-listed) unverified MIT (permissive) · 010eba1abe819f5a · report
label2binary rulematrix/rule-matrix-py/rulematrix/metrics.py community (archive-listed) unverified MIT (permissive) · c01c1c0f3dfdaf67 · report
obj2pkl rulematrix/rule-matrix-py/rulematrix/server/utils.py community (archive-listed) unverified MIT (permissive) · 4b9339c331a65eff · report
pkl2obj rulematrix/rule-matrix-py/rulematrix/server/utils.py community (archive-listed) unverified MIT (permissive) · a0dd49cfc5f36cb2 · report
prepare_rule_list_json rulematrix/rule-matrix-py/rulematrix/visualization/data_model.py community (archive-listed) unverified MIT (permissive) · 4671b211694e13a6 · report
prepare_streams rulematrix/rule-matrix-py/rulematrix/visualization/data_model.py community (archive-listed) unverified MIT (permissive) · db1fedad319eeca0 · report
surrogate rulematrix/rule-matrix-py/rulematrix/surrogate/surrogate.py community (archive-listed) unverified MIT (permissive) · 32847a5f07b51596 · report

Tasks

BIG-bench Machine LearningNavigate

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections