DiffBench#
DiffBench is a Python library for benchmarking machine learning pipelines for diffusion MRI.
It provides a reproducible and modular framework for preparing diffusion MRI data, extracting features, training predictive models, evaluating their performance, and comparing experiments.
Benchmark workflow#
DiffBench follows a modular workflow from diffusion MRI data to benchmark results:
Diffusion MRI data
│
▼
1. Preprocessing
│
▼
2. Data Preparation
│
▼
3. Feature Extraction
│
▼
4. Model Training & Evaluation
│
▼
5. Analysis
Each stage can be configured and used independently depending on the experiment.
Preprocess diffusion MRI data and generate the inputs required by the benchmark.
Prepare diffusion MRI representations required by the benchmark.
Transform prepared imaging data into model-ready features.
Train and compare machine learning and deep learning models.
Aggregate metrics, compare experiments, and generate reports and plots.
For a more detailed explanation of how these stages interact, see the Pipeline Overview.
Documentation#
Choose where you want to start:
Install DiffBench and run your first experiment.
Learn how data preparation, feature extraction, training, evaluation, and analysis work.
Understand the architecture and how the different components interact.
Explore configuration options, available models, metrics, and generated results.
Follow step-by-step guides for extending DiffBench.
Explore the Python classes, functions, and implementation interfaces.