Skip to Content
DocumentationExample-driven tutorial: single modality (microbiome) experimentsOverview

Overview

This tutorial walks through a complete experiment using the Franzosa et al. 2019  inflammatory bowel disease dataset, a gut microbiome cohort with three clinical groups: Crohn’s disease (CD), ulcerative colitis (UC), and non-IBD controls. Steps that are dataset-specific are noted where relevant.

Steps

StepDescription
Data preparationDownload the example cohort files and convert them into the profile format accepted by mllabiome
Experiment configurationDefine the classification target, preprocessing pipeline, model search space, and cross-validation strategy
Running the experimentExecute the experiment script and monitor progress
Experiment output structureUnderstand the directory layout and every output artefact produced by the sweep
Resuming and extending an experimentPick up an interrupted run or expand an existing sweep with new configurations
Post-evaluationLoad evaluation results and rank configurations by generalisation performance
Post-explain: globalCompute SHAP-based global feature importance across the best configurations
Post-explain: localGenerate per-sample explanations for individual predictions
Ensemble sweepSearch for an ensemble of top-performing models that improves on any single model
Last updated on