Skip to content

Examples

Quick Start with Sample Data

Get started with winnow in minutes using the included sample data:

# Generate sample data
make sample-data

# Train a calibrator
make train-sample

# Run prediction
make predict-sample

The sample data is automatically configured in the default config files. See the CLI guide for more details.

Comprehensive Example Notebook

For a comprehensive example demonstrating the full winnow workflow, see our example notebook:

📓 FDR plots example notebook

This notebook shows you how to:

  • Load and prepare PSM data using CalibrationDataset
  • Train a confidence calibrator with ProbabilityCalibrator
  • Apply FDR control using different methods
  • Generate visualisation plots for calibration and FDR analysis