GithubHelp home page GithubHelp logo

alibagheri7 / repad Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ebzgr/repad

0.0 0.0 0.0 24 KB

Recursive Partitioning Discretization for dynamic discrete choice modeling

License: MIT License

Python 100.00%

repad's Introduction

RePaD

Repad is an algorithm that controls a high-dimensional variable set in the dynamic discrete choice modeling settings. It uses the idea behind recursive partitioning to discretize the state space and reduce the dimensionality of a high-dimensional control variable set to a one-dimensional categorical variable using a weighted sum of decision probabilities and state transition probabilities. For more information about the algorithm, please read the first draft of the paper in the following.

https://staff.washington.edu/ebar/data/RePaD.pdf

This repository contains five modules. The discretization algorithm is implemented in the file "discretizer." The rest of the modules are provided to experiment with the algorithm using the extended version of the canonical Rust (1987) bus engine replacement problem. The modules are as the following:

  1. discretization_generator: This module can generate a random discretization in a high-dimensional state space. It can be used to generate a discretized high-dimensional variable set.
  2. data_generator: This module can generate simulation data from the extended version of Rust's bus engine replacement problem.
  3. discretizer: This module is the main algorithm and discretizes a high-dimensional state space to a one-dimensional categorical variable.
  4. estimator: This module can be used to estimate the parameters of the extended version of Rust's bus engine replacement problem.
  5. utility: This module provides some functionalities that are used across all other modules.

Use the provided example file as well as in-code documentation as a guideline for using the algorithm. Please reach out to Ebi Barzegary ([email protected]) or Hema Yoganarasimhan ([email protected]) for questions regarding the algorithm or package.

References:

Rust, John. "Optimal replacement of GMC bus engines: An empirical model of Harold Zurcher." Econometrica: Journal of the Econometric Society (1987): 999-1033.

repad's People

Contributors

ebzgr avatar ebaruw 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.