Giter Club home page Giter Club logo

aistats-22-calm's Introduction

Sequential Multivariate Change Detection with Calibrated and Memoryless False Detection Rates (AISTATS 2022)

To run the experiments in Section 5.1 first install poetry if you do not already have it:

pip install poetry

Then instantiate an environment and install the required dependencies

poetry shell
poetry install

This doesn't install pytorch. Do this following the instructions at https://pytorch.org/.

To run experiments then run

cd experiments/toy_examples
python run.py

This obtains ARTs and ADDs for desired ERTs of 128, 256, 512, 1024. In the paper we perform additional experiments for batchmmdsim and lsddincsim with ERTs set equal to the ARTs obtained by bstat and lsddinc respectively. This can be performed by updating the ert parameters in gen_config.yaml files.


Running the experiments in Section 5.2 requires a couple of additional dependencies which are also better installed manually. First run

pip install torch-scatter -f https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html
pip install wilds==1.1.0

being careful to ensure ${TORCH} and ${CUDA} match your torch installation and CUDA version.

Then navigate into experiments/camelyon and run run.py. It will take a while to download the data the firts time this is run.

aistats-22-calm's People

Contributors

ojcobb avatar

Stargazers

 avatar  avatar

Watchers

 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.