Giter Site home page Giter Site logo

dnoursi / saffroncode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tijana-zrnic/saffroncode

0.0 0.0 0.0 210 KB

Code used for simulations described in the paper "SAFFRON: an adaptive algorithm for online control of the false discovery rate"

Python 100.00%

saffroncode's Introduction

--------------------------- README --------------------

Plots saved as .pdf files in the folder "plots", data saved as .dat files in the folder "dat"

Note that the plots may look different than the ones in the paper because the observations are randomly generated


The main file is run_and_plot.py. The experiments vary depending on the following passed arguments: --FDRrange - integers encoding the choice of algorithms and parameters (listed in exp_FDR_batch_new) --num-runs - number of independent trials --num-hyp - number of hypotheses --plot-style - 0 for plots vs hyp, 1 for plots vs pi1 --alpha0 - test level --mu-gap - used for gaussian tests as mu_c, where observations under the alternative are N(Z,1), Z~N(mu_c,1) --mod-choice - 1 for gaussian tests, 2 for beta alternatives (set mu-gap=0 when not doing gaussian tests) --pirange - range of pi1 --markov-lag - parameter of local dependence between p-values

If you spot any issues or bugs, please contact me at tijana(at)eecs(dot)berkeley(dot)edu

This code borrowed substantial parts from Fanny Yang's code available at: https://github.com/fanny-yang/OnlineFDRCode

saffroncode's People

Contributors

tijana-zrnic 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.