Giter Site home page Giter Site logo

environment_design's Introduction

Readme

Codes and data for paper "Environment Design for Biased Decision Makers".

Simulation

In simulation folder, Experiment.py is main function for simulation test. Use following command to run experiments. MDPenvironment.py, Agent.py, Principal.py , are for environments, agent models and principal models. Simulation results is stored in simulation/results folder.

python Experiment.py baseline # baseline test
python Experiment.py reward_modify # reward function modification test
python Experiment.py action_nudge # action nudge test

Human subject experiment

We recruit 300 individual workers from Amazon Mechanical Turk. Experiment data is stored in human-subject-experiment/mturk-experiment-data.csv:

  • uid represents anonymous workers, from 0 to 299
  • treatment treatment of the worker, from 0-2 (0-baseline, 1-reward function modification, 2-action nudge)
  • test_idx test order of games, 6 integers from 0 to 5
  • data actions (worker moves) in each game, first is in test game (not included in test_idx)
  • scores scores in each game, first is in test game (not included in test_idx)

Experiment setting is stored in human-subject-experiment/experiment-setting in forms of .json.

environment_design's People

Contributors

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