This repo accompanies the paper "Reliable algorithm selection for machine learning-guided design" (ICML 2025).
The notebooks gb1-demo.ipynb and rna-demo.ipynb demonstrate how to reproduce the design algorithm selection experiments for protein GB1
(Fig. 3) and RNA binders (Fig. 4), respectively, in the main text. To run these, first install the necessary packages:
python -m venv das
source das/bin/activate
pip install -r requirements.txt
jupyter notebook
Descriptions of other files are as follows:
gb1.py: main functions for GB1 experimentsrna.py: main functions for RNA experimentsutils.py: utilities and other methods (GMMForecasts, CalibratedForecasts, conformal prediction methods)models.py: classes for predictive modelsdesigners.py: design algorithms used in RNA binder experimentsvae.py: VAE used by CbAS and DbAS in designers.pydre.py: classes for density ratio estimation used in RNA binder experiments
The RNA binder experiments use the ViennaRNA package, developed at the Institute for Theoretical Chemistry of the University of Vienna.
@article{lorenz2011,
title = "{ViennaRNA} Package 2.0",
author = "Lorenz, Ronny and Bernhart, Stephan H and Höner Zu Siederdissen,
Christian and Tafer, Hakim and Flamm, Christoph and Stadler, Peter
F and Hofacker, Ivo L",
journal = "Algorithms Mol. Biol.",
volume = 6,
pages = 26,
year = 2011,
}