Git Product home page Git Product logo

fairconsumerfinance's Introduction

Code and experiments for Algorithms and Learning for Fair Portfolio Design

Python implementation of algorithms and experiments described in Algorithms and Learning for Fair Portfolio Design by Emily Diana, Travis Dick, Hadi Elzayn, Michael Kearns, Aaron Roth, Zachary Schutzman, Saeed Sharifi-Malvajerdi, and Juba Ziani

Suggested citation: coming soon


Usage: python experiments_paper.py e1 e2 e3... where the e's are the experiments to run.

E.g. python experiments_paper.py 1 4 11 2 will run Experiments 1, 2, 4, and 11.

List of experiments and corresponding figures in the paper (if included)
  • Experiment 1: No regret convergence time as a function of the step size.
  • Experiment 2: Comparison of ILP, sparsify, greedy, greedy MM
  • Experiment 3: Groups are drawn from gaussians with the same mean, different variance
  • Experiment 4: Groups are drawn from gaussians with different means, same variance
  • Experiment 5: Groups are drawn from gaussians, the second's mean and variance are scaled multiples of the first
  • Experiment 6: One group is relatively small compared to the other
  • Experiment 7: Generalization
  • Experiment 8: Examining sparsification
  • Experiment 9: Comparison of algorithms (Figure 2)
  • Experiment 10: Product dependence (+timing)
  • Experiment 11: Consumer dependence (+timing)
  • Experiment 12: Generalization (Figure 3)

Edit configs.py to change important global variables, including the solver used by CVXPY. Currently supported: Gurobi and Mosek; other values will result in the default solvers being called.

Required packages are listed in requirements.txt and installed with pip install -r requirements.txt.

fairconsumerfinance's People

Contributors

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