Notrix: Understanding Machine Learning Solutions Across Computational Notebooks at Scale
Xiaotian Su, Hongxin Fu, Xiaoyu Zhang, April Yi Wang
Key points
From the paper's conclusion- Inspired by a formative study (N = 11), Notrix classifies every cell into one of thirteen machine learning (ML) stages, turning each notebook into a stage sequence, and clusters those sequences by structure rather than by code.
Abstract
Computational notebooks make problem-solving visible, but typically only one notebook at a time. Meanwhile, in data science platforms like Kaggle, one competition can accumulate hundreds of notebooks. Effective collection-level analysis requires characterizing recurring solution patterns across all notebooks, as well as isolating specific notebooks for closer examination and learning. However, standard notebooks provide no common basis for this. Their workflows are nonlinear, cells declare no intent, and identical code can serve different ends, leaving hundreds of notebooks as separate documents. In this paper, we present Notrix, an interactive visual analytics tool for profiling hundreds of notebooks as one collection. Inspired by a formative study (N = 11), Notrix classifies every cell into one of thirteen machine learning (ML) stages, turning each notebook into a stage sequence, and clusters those sequences by structure rather than by code. To keep the representation constant as the scope narrows from the whole collection to a single cell, Notrix features three coordinated views---Workflow, Structural Matrix, and Detail---that appear at all four levels of granularity. In a within-subject study (N = 17) using two Kaggle collections of over 400 notebooks each, we observed participants answered questions about all notebooks more accurately with Notrix (median 88% vs. 50%) while opening 80% fewer notebooks per minute. Notably, four of the fourteen answered it without opening a single notebook (interaction logs, N = 14). Participants also reported significantly lower mental demand, temporal demand, and stress with Notrix (Holm-Bonferroni adjusted).
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Observing fine-grained changes in Jupyter notebooks during development timeJournal of Systems and Software · 2026
- Beyond Unit Tests: Path-Aware Rubric-Guided LLM Autograding of NotebooksarXiv · 2026
- A Taxonomy and Taxonomy-Guided Benchmark Reduction for Spreadsheet TasksarXiv · 2026
- VisCodeBench: a new benchmark dataset for Text-to-Vis reflecting real-world practicearXiv · 2026
- VisInteract: Towards Dynamic Interactive Text-to-Visualization under Imperfect QueriesarXiv · 2026
- LooseLeaf: Enabling Serverless GPUs for Computational NotebooksarXiv · 2026