A modular and interpretable framework for tabular data analysis using LLaMA 7B: Enhancing preprocessing, modeling, and explainability with local language models
PLOS One · 2026
DOI: 10.1371/journal.pone.0341002 ↗Kurz gefasst
Fachartikel in der Zeitschrift PLOS One, 2026. Verfasst von Shahab Ahmad Al Maaytah und 1 weiteren Autor:innen. Beteiligte Einrichtung: Department of Languages and Humanities, Applied College, King Faisal University, Al-Ahsa, The Eastern Province, Saudi Arabia. Hauptthemen laut MEDLINE: Boosting Machine Learning Algorithms, Large Language Models, No-Show Patients, Appointments and Schedules. Die Arbeit nennt 48 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Deanship of Research and Graduate Studies, King Khalid University, Deanship of Scientific Research, King Faisal University.
Abstract (Originalsprache)
Predicting whether a patient will attend a scheduled medical appointment is essential for reducing inefficiencies in healthcare systems and optimizing resource allocation. This study introduces a local, LLM-assisted pipeline that uses LLaMA 7B solely to automate semantic preprocessing such as column renaming, datatype inference, and cleaning recommendations while the predictive task is performed by classical machine-learning models. Applied to the Medical Appointment No-Shows dataset, the pipeline spans dataset analysis, feature transformation, classification, SHAP-based explainability, and system profiling. Using LLM-guided preprocessing, the downstream XGBoost classifier achieved an overall accuracy of 80%, with an F1-score of 0.89 for the majority Show class and 0.03 for the minority No-show class, reflecting the strong class imbalance in the dataset. The AUC-ROC reached 0.65 and the precision–recall AUC was 0.87, driven primarily by majority-class performance. SHAP analysis identified waiting days, age, and SMS notifications as the most influential predictors. Overall, the results demonstrate that local large language models can enhance preprocessing and interpretability within an efficient, deployable workflow for tabular prediction tasks, while classical supervised models remain responsible for final prediction.
Schlagwörter
MeSH-Schlagwörter (MEDLINE)
Autor:innen und Institutionen
- Department of Languages and Humanities, Applied College, King Faisal University, Al-Ahsa, The Eastern Province, Saudi Arabia.
- Informatics and Computer Systems Department, King Khalid University, Abha, Saudi Arabia.
Förderung
- Deanship of Research and Graduate Studies, King Khalid University
- Deanship of Scientific Research, King Faisal University
Zitieren
APA
Al Maaytah, S. A., & Qahmash, A. (2026). A modular and interpretable framework for tabular data analysis using LLaMA 7B: Enhancing preprocessing, modeling, and explainability with local language models. PLOS One. https://doi.org/10.1371/journal.pone.0341002
Vancouver
Al Maaytah SA, Qahmash A. A modular and interpretable framework for tabular data analysis using LLaMA 7B: Enhancing preprocessing, modeling, and explainability with local language models. PLOS One. 2026. doi:10.1371/journal.pone.0341002
BibTeX
@article{AlMaaytah2026,
author = {Al Maaytah, Shahab Ahmad and Qahmash, Ayman},
title = {A modular and interpretable framework for tabular data analysis using LLaMA 7B: Enhancing preprocessing, modeling, and explainability with local language models},
journal = {PLOS One},
year = {2026},
doi = {10.1371/journal.pone.0341002}
}
EUVIMED