Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Ngoni-M/TabPFN_project

Domain:

healthcare

Record type:

project
Creator:
Ngo
Host:
Reproducible pipelines for TB classification using TabPFN and traditional machine learning models. # TB Classification with TabPFN and Traditional ML Models ## Project Overview **Title:** Comparing traditional machine learning algorithms with a transformer-based model (TabPFN) for the prediction of health outcomes This project compares **TabPFN**, a pre-trained transformer for tabular data, to **traditional machine learning models** (LightGBM, glmnet) in predicting **tuberculosis (TB) status** from host analytes. **We evaluate performance using:** - ROC curves and AUC - Accuracy, Sensitivity, Specificity, Balanced Accuracy **The comparison is performed for:** - All 22 analytes - Top 3 analytes selected using information gain **Dataset details:** - Concentrations of TB biomarkers measured using the Luminex assay - Clinical dataset (patient-level data) - Binary classification: patient is TB positive or TB negative - ML algorithms: Elastic Net Logistic Regression (glmnet), LightGBM, TabPFN (transformer-based) - Purpose: Compare performance of traditional ML vs transformer-based models - Notes: Clinical dataset not shared publicly; code can run on synthetic or similar datasets ## AIM Compare TabPFN to traditional ML models in predicting TB status from host analytes, using ROC, AUC, and balanced accuracy as performance metrics. ## Workflow 1. Load TB dataset and analyte information 2. Split data into training and test sets 3. Preprocess data: - Scale features - Apply SMOTE to balance classes 4. Select features for analysis: - All 22 analytes - Top 3 analytes (based on information gain) 5. Train traditional ML models on training data: - LightGBM - glmnet - Rpart (optional) 6. Tune hyperparameters using nested cross-validation 7. Prepare TabPFN inputs using training/test sets 8. Train TabPFN classifier on same training data 9. Generate predictions and probabilities for all models 10. Evaluate performance: - ROC curves and AUC - Accuracy, Sensitivity, Specificity, Balanced Accuracy 11. Compare TabPFN to traditional ML models: - Plot ROC curves together - Summar …

Visit

github.com

Tasks

text classification

Languages

ChichewaChingoniNsengaTumbukaXingoniZulu

Tags

bioinformatics-pipelinedata-analysis-projectmachine-learningml-pipelinepythrtabpfntuberculosistuberculosis-classification

Similar

Ngoni-Sama/warthogacademyNgoni-Chipere/python-tutorialSexist Linguistic Aspects in The Ngoni LanguageA descriptive grammar of Mozambican Ngoni (Xingoni)Ngoni - Language, Culture and Sociolinguistic Situation - Photo Elicitation Modern Objects Ngoni - Språk, kultur och sociolingvistisk situation - Fotoelicitering moderna föremålNgoni - Language, Culture and Sociolinguistic Situation - Photo Elicitation Traditional Objects Ngoni - Språk, kultur och sociolingvistisk situation - Fotoelicitering traditionella föremål

Ngoni-Sama/warthogacademy

# Warthog Academy — Website A modern, single-page website for **Warthog Academy** — a Zimbabwean se

Ngoni-Chipere/python-tutorial

Python tutorial for Shali # The Merchandiser's Ledger — Learn Python on the Unilever Aisle An elev

Sexist Linguistic Aspects in The Ngoni Language

Linguistic studies of the minority languages in Africa have focused on their classification, vitalit

A descriptive grammar of Mozambican Ngoni (Xingoni)

This dissertation presents a comprehensive grammar of Mozambican Xingoni, spoken in northern Mozambi

Ngoni - Language, Culture and Sociolinguistic Situation - Photo Elicitation Modern Objects Ngoni - Språk, kultur och sociolingvistisk situation - Fotoelicitering moderna föremål

The project comprised three interrelated parts: A main project Language documentation and analysis o

Ngoni - Language, Culture and Sociolinguistic Situation - Photo Elicitation Traditional Objects Ngoni - Språk, kultur och sociolingvistisk situation - Fotoelicitering traditionella föremål

The project comprised three interrelated parts: A main project Language documentation and analysis o