whynot  by socialfoundations

Python sandbox for decision making in dynamics

created 5 years ago
422 stars

Top 70.8% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

WhyNot is a Python sandbox for developing, testing, and benchmarking causal inference and sequential decision-making tools within dynamic environments. It targets researchers, practitioners, and students seeking a flexible platform to explore and evaluate methods in complex, simulated scenarios. The primary benefit is providing a unified interface to diverse simulators and experimental designs, facilitating robust evaluation and pedagogical use.

How It Works

WhyNot integrates causal inference and reinforcement learning techniques with dynamic simulators. It offers a structured approach to generating datasets for causal analysis, including randomized control trials, confounding, and mediation scenarios. For sequential decision-making, it leverages the OpenAI Gym interface, enabling experimentation with reinforcement learning agents in simulated environments. This dual focus allows for comprehensive evaluation of methods across different problem types.

Quick Start & Requirements

Highlighted Details

  • Supports causal inference experiments for average treatment effects, heterogeneous treatment effects, time-varying treatments, and causal structure discovery.
  • Integrates with OpenAI Gym for sequential decision-making and reinforcement learning tasks.
  • Includes a "Strategic Classification" module for evaluating classifiers in adversarial, dynamic settings.
  • Offers a wide array of simulators from economics, epidemiology, and social sciences, including World3, HIV, and DICE.

Maintenance & Community

The project is under active development, with contributions welcomed via GitHub issues for bugs and feature requests. The README does not specify community channels like Discord or Slack.

Licensing & Compatibility

MIT License. This permissive license allows for commercial use and integration into closed-source projects.

Limitations & Caveats

The simulators are designed for technical challenges in causal inference and dynamic decision-making, not as faithful models of the real world, and should not be used for direct policy design. The project is still under active development, implying potential for breaking changes or incomplete features.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.