Giter Site home page Giter Site logo

conformal-for-design's Introduction

Conformal prediction under feedback covariate shift for biomolecular design

This repo contains the code accompanying the following paper:

C. Fannjiang, S. Bates, A. Angelopoulos, J. Listgarten, M. I. Jordan, Conformal prediction under feedback covariate shift for biomolecular design. 2022. Proceedings of the National Academy of Sciences, 119(43), e2204569119. link

See calibrate.py for implementations of both the full and split conformal prediction algorithms we describe. assay.py contains utilities and classes for handling the fluorescence and AAV datasets, which are stored (along with relevant models and results) in fluorescence/ and aav/, respectively.

Notebooks for reproducing and plotting the results of the simulated protein design experiments are as follows:

  • notebooks/fluorescence-experiments.ipynb shows how we ran the fluorescent protein design experiments, which uses full conformal prediction under feedback covariate shift, algorithmically optimized for ridge regression (Alg. S2 in the SI Appendix).
  • notebooks/fluorescence-figures.ipynb creates Figs. 3 and 4 in the main paper and Fig. S2 in the SI Appendix.
  • notebooks/aav-experiments.ipynb shows how we ran the AAV design experiments, which uses a randomized version of split conformal prediction under covariate shift (Alg. S1 in the SI Appendix).
  • notebooks/aav-figures.ipynb creates Fig. 5 in the main paper.

conformal-for-design's People

Contributors

clarafy avatar aangelopoulos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.