Git Product home page Git Product logo

isabella232 / gaea Goto Github PK

View Code? Open in Web Editor NEW

This project forked from salesforce/gaea

0.0 0.0 0.0 8.83 MB

Data and code for Salesforce Research paper, GAEA: Graph Augmentation for Equitable Access via Reinforcement Learning - https://arxiv.org/abs/2012.03900 . The paper provides methods for constraint graph augmentation and optimal facility placement problems

License: BSD 3-Clause "New" or "Revised" License

Python 7.69% HTML 81.02% Jupyter Notebook 11.29%

gaea's Introduction

GAEA: Graph Augmentation for Equitable Access via Reinforcement Learning

This repository contains the data and code for Salesforce Research paper: GAEA: Graph Augmentation for Equitable Access via Reinforcement Learning

Citation

If you use this code, data or our results in your research, please cite as appropriate:

@inproceedings{ramachandran2021gaea,
  title={GAEA: Graph Augmentation for Equitable Access via Reinforcement Learning},
  author={Ramachandran, Govardana Sachithanandam and Brugere, Ivan and Varshney, Lav R and Xiong, Caiming},
  booktitle={Proceedings of the 2021 AAAI/ACM Conference on AI, Ethics, and Society},
  pages={884--894},
  year={2021}
}

Prerequisites

Software

Install dependencies by running

pip install -r requirements.txt

The code was tested on

cuda 11.2
tensorflow-gpu==2.6.0
keras==2.6.0

Hardware

We ran on a Quadro GV100 with 32GB RAM.

Dataset

  1. Dataset merging public census, school, and transportation datasets for the city of Chicago is provided under data/{demographics | network | schools}
  2. For Facebook100 dataset download the data as described in http://sociograph.blogspot.com/2011/03/facebook100-data-and-parser-for-it.html and place the unziped data under data/facebook100

Experiments

Edit repository path and the output path for the project in paths_inc.py .

The run_experiments.py generates all results for:

  1. Original graph
  2. Baseline method
  3. Proposed method

On each of the outputted graphs, we run monte carlo weighted walk simulations and estimate the distribution of expected rewards of walkers. On this distribution, we evaluate our main two criteria:

  1. Expected Utility
  2. Gini Index of Expected Utility

Graph editing on Chicago school network

python run_experiments.py --exp edit --graph chicago

Graph editing on Facebook100 schools

python run_experiments.py --exp edit --graph fb --school Caltech36

Other school network we tried are: Mich67 and Reed98

Graph editing on synthetic network

python run_experiments.py --exp edit --graph synthetic

Facility Placement

python run_experiments.py --exp facility_placement --graph chicago

gaea's People

Contributors

dependabot[bot] avatar sachin-r avatar svc-scm 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.