Coder Social home page Coder Social logo

heorhiis / fimba-attack Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 128 KB

A repository for paper FIMBA: Evaluating the Robustness of AI in Genomics via Feature Importance Adversarial Attacks

License: MIT License

Jupyter Notebook 86.69% Python 13.31%

fimba-attack's Introduction

README

data_processing/ folder contains the code for data processing and data analysis of the datasets used in the paper. Please note that you would require solid storage capacity to download the whole dataset. While final dataset sizes are around a gigabyte, the intermediate files can take up a lot of storage space.

use data_download.py to download the raw files for TCGA dataset. For COVID-19 dataset please download the files from NCBI GEO database. Then use the respective processing notebooks.

models.py contains the code for all architectures and attacks as well as some evaluation code. Attacks are designed to measure confusion matrix and accuracy of the models. shap_dl_analysis.py is the code for the SHAP analysis of the DL models and an example now how data is loaded. runatk_standalone.py is the code standalone code for the main attack in the paper, there SHAP is computed in loop during the attack, it can be computed on either target or destination vector. This code is not used in the paper, but it is a good example of how to run the attack.

We note that the hyperparameter settings in the code can be different from the paper, and the current version was designed as a representative copy.

fimba-attack's People

Contributors

heorhiis avatar

Stargazers

 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.