hai-h-nguyen / fba-pomdp

Factored model-based Bayesian Reinforcement Learning framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(Factored) Bayes-Adaptive POMDP

A code base to run (Bayes-Adaptive) reinforcement learning experiments on partially observable domains. This project is meant for reinforcement learning researchers to compare different methods. It contains various different environments to test the methods on, of which all partially observable and discrete. Note that this project has mostly been written for personal use, research, and thus may lack the documentation that one would typically expect from open source projects.

Related research:

Installation

mkdir wherever/you/want && cd wherever/you/want
cmake -DCMAKE_BUILD_TYPE=Release /path/to/root/of/this/project
make

Usage

To run planning algorithms (no learning)

./planning -D episodic-tiger -v 2 -f results.txt
cat results.txt
./planning --help

To run learning approaches

Tabular BA-POMDP:

./bapomdp --help

Or Factored BA-POMDP:

./fbapomdp --help

Plotting and Processing results

See analysis/README.md

Documentation

After installation to generate the documentation in the 'doc' folder, run

cd to/the/build/directory
make docs

Development

TODO

  • automate clang-tidy static analysis

maintenance

  • formatting
    • make clang-format
  • static analysis
    • scan-build make
    • make ccpcheck
    • python run-clang-tidy.py -checks=clang-analyzer-*,cppcoreguidlines-*,misc-*,modernize-*,performance-*,readability-*,-readability-named-parameter -header-filter=src/
  • dynamic analysis (and running tests)
    • valgrind ./tests (do not forget to first compile with -DCMAKE_BUILD_TYPE=Debug)

About

Factored model-based Bayesian Reinforcement Learning framework

License:GNU General Public License v3.0


Languages

Language:C++ 97.3%Language:Python 2.2%Language:CMake 0.5%Language:Shell 0.0%