Git Product home page Git Product logo

naturally-adversarial-datasets's Introduction

Curating Naturally Adversarial Datasets for Learning-Enabled Medical Cyber-Physical Systems

This repository implements an approach to curating naturally adversarial datasets via adversarial ordering presented in this paper accepted to ICCPS 2024.

Instructions

Clone this repository.

git clone https://github.com/sfpugh/Naturally-Adversarial-Datasets
cd Naturally-Adversarial-Datasets

The paper results were generated on a Linux machine with Ubuntu 20.04 and Python 3.8. We provide a Dockerfile to construct an image to this specification. To build the docker image, use the following command:

docker build -t nad .

To create and run a container from this image nad, use the following command:

docker run -it nad

Prior to running the code, decompress the data data.tar.gz in the data directory using the following commands:

cd data
tar -xzvf data.tar.gz
cd ..

To apply the approach, run from main.py with appropriate arguments. All arguments are listed in main.py. For example, to run the approach on the spo2_hr_lo dataset using probabilistic labeler majority vote, you can use the following command:

python main.py --dataset spo2_hr_lo --default_pred 1 --pl majorityvote --evaluate

Finally, to reproduce Table III from the paper run generate_results.sh in the scripts/ directory.

cd scripts
bash generate_results.sh

Citation

Please cite this paper in your publications if this code helps your research.

@misc{pugh2023curating,
      title={Curating Naturally Adversarial Datasets for Learning-Enabled Medical Cyber-Physical Systems}, 
      author={Sydney Pugh and Ivan Ruchkin and Insup Lee and James Weimer},
      year={2023},
      eprint={2309.00543},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

naturally-adversarial-datasets's People

Contributors

sfpugh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.