Skip to content

Teaching Data Cleaning in Machine Learning: A Misconception-Driven Pedagogical Framework for Explainable and Ethical Data Preprocessing

Dec 2026 · International Journal of Technology in Education Science · 0 citations
Teaching and Learning Programming

TL;DR

This paper proposes a four-phase instructional sequence — Motivational Grounding, Mechanism Diagnosis, Algorithm-Context Mapping, Algorithm-Context Mapping, and Explainability and Ethical Reflection — operationalized through a multi-dimensional Instructor Cleaning Strategy Matrix, embedding explainability and ethical reflection as a mandatory fourth phase of instruction.

Abstract

Data cleaning — the process of detecting and remedying missing, erroneous, and inconsistent records in raw datasets — is widely recognized as the most time-consuming and consequential stage of the machine learning preprocessing pipeline. Yet despite its operational centrality, how data cleaning should be taught to undergraduate computer science students has received remarkably little systematic attention in the machine learning education literature. This paper addresses that gap by developing a theoretically grounded pedagogical framework for instructors teaching data cleaning in higher education contexts. Drawing on threshold concept theory, constructivist learning principles, and the documented landscape of machine learning education challenges, we identify three pervasive misconceptions: the deletion reflex, the imputation neutrality fallacy, and the outlier criminalization fallacy. We propose a four-phase instructional sequence — Motivational Grounding, Mechanism Diagnosis, Algorithm-Context Mapping, and Explainability and Ethical Reflection — operationalized through a multi-dimensional Instructor Cleaning Strategy Matrix. The framework is empirically grounded through a case study applying the full technique repertoire to a real-world academic email dataset of over 10,000 records spanning eleven years. A cross-method comparison demonstrates that imputation methods produced NRMSE values ranging from 0.08 to 0.45, and anomaly detection methods flagged between 185 and 412 records on identical data. Implications for machine learning curriculum design, assessment, and data ethics literacy are discussed. By embedding explainability and ethical reflection as a mandatory fourth phase of instruction — grounded in GDPR, the EU AI Act, and ISO 8000 requirements — the framework equips learners to navigate the data governance demands of contemporary technology-enhanced professional environments.

Read PDF

Similar papers

Sep 2026

Using counterfactual explanations to enable prescriptive analytics in educational data mining projects

As machine learning (ML) models are increasingly used to support decision making in higher education, there is a growing need to move beyond accurate prediction toward explanations that enable meaningful intervention. This paper examines counterfactual explanations (CFEs) as prescriptive complements to risk prediction...

D. H. Dinh, Yen Ngoc Nguyen, Ngọc Thị Hồng Trần · 0 citations
Review Open access Aug 2026

Predictive Machine Learning-Driven Framework for Student Performance and Dropout in Online Learning Under Insurgency

A context-aware Machine Learning framework for predicting student performance and dropout in online learning environments affected by insurgency-related disruptions and supports resilient, adaptive, and equitable online education in crisis-affected environments.

Abdulqadir Ahmad Bazway · 0 citations
Open access Aug 2026

An Explainable AI-Based Learning Analytics Framework for Early Identification of At-Risk Students in Higher Education

An Explainable Artificial Intelligence (XAI)-based Learning Analytics Framework designed to identify at-risk students at an early stage of a programme or semester while providing interpretable, human-understandable justifications for each prediction is proposed.

Ankit Kumar Singh, Rubi Singh, Mohd Nadeem · 0 citations
Open access Oct 2026

Toward a methodological framework for big data and machine learning analysis in management research

As the global workforce becomes increasingly complex and interconnected, traditional management research methods often struggle to capture contextual richness, interdependence, and cultural variation. Big data analytics (BDA) and machine learning (ML) offer unprecedented opportunities to analyze complex patterns, yet...

Hila Chalutz Ben-Gal, H. Peretz, S. Horak · 0 citations
Open access Aug 2026

An Explainable Educational Data Mining Framework for Misconception Detection and Differentiated Instruction

Artificial Intelligence (AI) and Generative Artificial Intelligence (GenAI) increasingly support personalised learning, intelligent assessment, and data-informed educational decision-making. However, persistent misconceptions among gifted students may remain undetected because high achievement can conceal conceptually...

M. A. Salem · 1 citation

Related blog posts

Microsoft Research Blog Oct 22, 2026

Flint-interactive: A language for creating interactive data visualizations

Flint-interactive gives AI agents a language for creating interactive visualizations. Click a chart, filter data, highlight related content, and explore beyond the view the author originally chose. The post Flint-interactive: A language for creating interactive data visualizations appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.