Giter VIP home page Giter VIP logo

valinsogna / govtaxoptimal_rl Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 36.2 MB

RL framework designed to simulate and optimize government taxation policies. Focused on balancing economic equality and consumption, it employs state-of-the-art RL algorithms, PPO and SAC, to navigate wealth taxation strategies across various economic scenarios, aiming to achieve optimal wealth distribution and economic efficiency.

License: Apache License 2.0

Shell 0.60% Python 3.83% Jupyter Notebook 95.57%
ppo reinforcement-learning sac heterogeneous-agent taxation-policy

govtaxoptimal_rl's Introduction

TaxationPolicyRL

Overview

TaxationPolicyRL is a Reinforcement Learning (RL) project focused on simulating and optimizing wealth taxation policies using various RL algorithms. The project utilizes a custom Gym environment to model the taxation system and applies algorithms like PPO and SAC to optimize policy decisions.

This project was supervised by collaboration with researchers form Bank of Italy Aldo Glielmo and Valerio Astuti.

Installation

Prerequisites

  • Python 3.8 or higher
  • pip (Python package manager)

Steps

  1. Clone the Repository
    git clone https://github.com/valinsogna/GovTaxOptimal_RL.git
  2. Install dependencies:
    pip install -r requirements.txt

Usage

Configuration

  • Modify the config.py to change model configurations, including the choice of RL algorithm, policy type, and total timesteps.
  • Enable or disable Weights & Biases logging through the configuration prompts.

Training the Model

  • Run the main script to start training:
    python main.py
  • Run the main script with settings configured in config.json file:
    python main.py -f config.json

Evaluation

  • The project includes an evaluation script to assess the performance of the trained model.

Project Structure

  • src/: Source code for the project including the RL models and utilities.
  • TaxationEnv.py: Custom Gym environment for the taxation policy simulation.
  • model.py: Model manager for initializing various RL models.
  • config.py: Configuration script for setting up model parameters and options.
  • requirements.txt: List of dependencies for the project.
  • README.md: This file, containing project information and instructions.
  • results/: Folder for results storage.
  • baseline/: Comparable baseline algorithm Multi-Objective PSO.

Acknowledgments

I extend my deepest gratitude to the Banca d'Italia for their invaluable collaboration on the TaxationPolicyRL project. Special thanks are due to Aldo Glielmo and Valerio Astuti from the ART division for their expert insights and contributions. Their support and guidance were instrumental in shaping the research and outcomes of this project.

govtaxoptimal_rl's People

Contributors

valinsogna avatar

Stargazers

Callum Tilbury 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.