{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/timbertrek-exploring-and-curating-sparse","title":"TimberTrek: Exploring and Curating Sparse Decision Trees with Interactive Visualization","arxiv_id":"2209.09227","date":"2022-09-19","proceeding":null,"authors":["Zijie J. Wang","Chudi Zhong","Rui Xin","Takuya Takagi","Zhi Chen","Duen Horng Chau","Cynthia Rudin","Margo Seltzer"],"abstract":"Given thousands of equally accurate machine learning (ML) models, how can users choose among them? A recent ML technique enables domain experts and data scientists to generate a complete Rashomon set for sparse decision trees--a huge set of almost-optimal interpretable ML models. To help ML practitioners identify models with desirable properties from this Rashomon set, we develop TimberTrek, the first interactive visualization system that summarizes thousands of sparse decision trees at scale. Two usage scenarios highlight how TimberTrek can empower users to easily explore, compare, and curate models that align with their domain knowledge and values. Our open-source tool runs directly in users' computational notebooks and web browsers, lowering the barrier to creating more responsible ML models. TimberTrek is available at the following public demo link: https://poloclub.github.io/timbertrek.","url_abs":"https://arxiv.org/abs/2209.09227v1","url_pdf":"https://arxiv.org/pdf/2209.09227v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"timbertrek-exploring-and-curating-sparse","repo_url":"https://github.com/poloclub/timbertrek","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"timbertrek-exploring-and-curating-sparse","repo_url":"https://github.com/poloclub/webshap","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"timbertrek-exploring-and-curating-sparse","repo_url":"https://github.com/poloclub/wizmap","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[{"method_slug":"align","method_name":"ALIGN"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2209.09227","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2209.09227"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/poloclub/webshap","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/poloclub/wizmap","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/poloclub/timbertrek","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":3},"by_repo_kind":{"official":{"samples":3,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"7540d6ee3e8727c7","entry":"get_hierarchy_dict","repo":"poloclub/timbertrek","repo_kind":"official","path":"notebook-widget/timbertrek/timbertrek.py","file_url":"https://github.com/poloclub/timbertrek/blob/HEAD/notebook-widget/timbertrek/timbertrek.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7540d6ee3e8727c7"}},{"code_sha256_prefix":"84fe1951794cd8a9","entry":"get_tree_depths","repo":"poloclub/timbertrek","repo_kind":"official","path":"notebook-widget/timbertrek/timbertrek.py","file_url":"https://github.com/poloclub/timbertrek/blob/HEAD/notebook-widget/timbertrek/timbertrek.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"84fe1951794cd8a9"}},{"code_sha256_prefix":"9ab126e8a82029c8","entry":"transform_trie","repo":"poloclub/timbertrek","repo_kind":"official","path":"notebook-widget/timbertrek/timbertrek.py","file_url":"https://github.com/poloclub/timbertrek/blob/HEAD/notebook-widget/timbertrek/timbertrek.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9ab126e8a82029c8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}