Code Monkey home page Code Monkey logo

timipani / advanced-ai-economist Goto Github PK

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

Advanced AI Economist is a flexible, modular, and composable framework designed to model socio-economic behaviors and dynamics featuring both agents and governments. The framework can be used with reinforcement learning for learning optimal economic policies. Visit the official AI Economist site here - https://www.einstein.ai/the-ai-economist.

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

Python 61.93% Jupyter Notebook 31.17% Cuda 6.79% Shell 0.11%

advanced-ai-economist's Introduction

Advanced Foundation: AI Economic Simulation Framework

This project is an implementation of the Foundation framework, a flexible, modular, and composable environment for modeling socio-economic behaviors and dynamics in a society with both agents and governments.

It provides a Gym-style API:

  • reset: Resets the environment and returns the observation.
  • step: Moves the environment one step forward, returning the tuple (observation, reward, done, info).

The simulation framework can be used with reinforcement learning to learn optimal economic policies, as detailed in the following papers:

For more information, check out:

Ethics Review and Intended Use

See our Simulation Card for a review of the framework's intended use and ethical review.

Join our Slack

For extending this framework, discussing machine learning for economics, and collaborating on research projects, join our Slack channel aieconomist.slack.com.

Installation Instructions

You'll need Python 3.7+ installed to get started.

Pip Installation

You can use the Python package manager: pip install advanced-ai-economist

Source Installation

  1. Clone the repository: git clone www.github.com/timipani/advanced-ai-economist
  2. Create a new conda environment:
conda create --name advanced-ai-economist python=3.7 --yes
conda activate advanced-ai-economist
  1. Set your PYTHONPATH to include the advanced-ai-economist directory: export PYTHONPATH=<path-to-advanced-ai-economist>:$PYTHONPATH

Getting Started

Familiarize with Foundation by trying the tutorials in the 'tutorials' folder.

Code Structure

The simulation is located in the 'ai_economist/foundation' folder.

  • base: Base classes for defining Agents, Components, and Scenarios.
  • agents: Agents represent economic actors in the environment.

Releases and Contributions

Bug reports, pull requests, and other contributions are welcome. See our contribution guidelines.

advanced-ai-economist's People

Contributors

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