cd /news/machine-learning/evaluating-llm-generated-rules-for-h… · home topics machine-learning article
[ARTICLE · art-129787] src=arxiv.org ↗ pub= topic=machine-learning verified=true sentiment=· neutral

Evaluating LLM-Generated Rules for Heart Disease Prediction

A study comparing traditional machine learning models against LLM-generated rule-based systems for heart disease prediction on the UCI Heart Disease dataset found that traditional models consistently outperformed the LLM-generated rules, with Random Forest achieving the best overall performance at 90.2% accuracy, 0.829 precision, 1.0 recall, and a 0.906 F1-score. The LLM-generated rule models trailed, with Claude Sonnet 4.6 reaching 80.3% accuracy (F1-score 0.833) and GPT-4o obtaining 70.5% accuracy (F1-score 0.690), though the LLM rules offered interpretable IF-THEN diagnostic logic that enhances explainability and transparency in clinical decision-making. The study, posted as arXiv:2609.13192v1, highlights the trade-off between predictive performance and interpretability in medical artificial intelligence systems, with the full implementation publicly available on GitHub.

by read1 min views2 publishedSep 15, 2026

arXiv:2609.13192v1 Announce Type: new Abstract: This study compares traditional machine learning models and Large Language Model (LLM)-generated rule-based systems for heart disease prediction using the UCI Heart Disease dataset. Several classifiers, including Logistic Regression, K-Nearest Neighbors (KNN), Support Vector Machine (SVM), Naive Bayes, Decision Tree, and Random Forest, were evaluated alongside rule-based systems generated using GPT-4o and Claude Sonnet 4.6. Model performance was assessed using accuracy, precision, recall, and F1-score metrics. Experimental results show that traditional machine learning models consistently outperform LLM-generated rule-based systems in predictive performance. Random Forest achieved the best overall performance with 90.2% accuracy, a precision of 0.829, perfect recall of 1.0, and an F1-score of 0.906. Naive Bayes followed closely with 88.5% accuracy and an F1-score of 0.881. In contrast, the LLM-generated rule models achieved lower performance, with Claude Sonnet 4.6 reaching 80.3% accuracy (F1-score: 0.833) and GPT-4o obtaining 70.5% accuracy (F1-score: 0.690). Despite the performance gap, the LLM-generated rules provide interpretable IF-THEN diagnostic logic that enhances explainability and transparency in clinical decision-making. These findings highlight the trade-off between predictive performance and interpretability in medical artificial intelligence systems. The complete implementation of all experiments, including machine learning models and LLM-derived rule classifiers, is publicly available in the GitHub repository at https://github.com/FeisalAlaswad/LLM-Rule-ML-Heart-Disease-Prediction .

── more in #machine-learning 4 stories · sorted by recency
── more on @uci heart disease dataset 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/evaluating-llm-gener…] indexed:0 read:1min 2026-09-15 ·