Optimal Binary Two-Stage Designs
All examples are available as jupyter notebooks
in the folder
can be explored interactively using
The free hosting service is run by https://mybinder.org.
Since the instances are running on a free service, availibility and computing
speed may vary.
All links on this page point to release 0.2.2 of this repository. To run an other version, simply modify the binder link accordingly. The newest version of the 'introduction' notebook would be
would run version 0.1.0 of the introduction notebook.
A shiny app is available under this binder-link. The app showcases a few rudimentatry scenarios and does not require any programming experience. Note that the app is also hosted on the free https://mybinder.org service and the default settings for the optimisation are chosen conservatively to ensure proper solutions over a wide range of inputs. Depending on the user inputs, optimisation might thus take up to a few minutes.
- install git, docker, python, and repo2docker
git clone https://github.com/kkmann/optimal-binary-two-stage-designsto download the repository
- switch to the repository folder via
- [optionally] checkout a specific version tag using e.g.
git checkout 0.2.2
jupyter-repo2docker .to build and start the container locally, this will start a Jupyter notebook server in you browser and you can navigate to the respective notebook in the
- [optionally] the repository also contains a snakemake workflow to run all
notebooks (and thus generate all plots) sequentially.
This can be executed by opening a terminal window in Jupyter lab and running
snakemake --cores 1 all.