GithubHelp home page GithubHelp logo

foltr-pdgd's Introduction

Reproduction of the FPDGD algorithm

This repo contains my reproduction and experiment code for the FPDGD algorithm. This is my final project for COMPSCI 660 Advanced Information Assurance (Fall '22) at UMass Amherst.

Please make sure to install all of the following dependencies:

  1. numpy, scipy (For all the math)
  2. pandas (For the data)
  3. sklearn (For attack experiment)
  4. tqdm (Nice progress bar)
  5. Matplotlib (For plotting)
  6. Optional: mypy (For type checking)

To train a model:

  1. Download the LETOR 4.0 dataset and/or the MSLR dataset.
  2. Unzip them in the data folder.
  3. Run python train.py (please modify the parameters in this script)
  4. The model parameters are saved to the models folder, and the plots are saved to the plots folder.

To run the privacy attack experiment:

  1. Download data and unzip (like above)
  2. Run python mia.py (please modify the parameters in this script)

foltr-pdgd's People

Contributors

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