qzed/irl-maxent
关于
最大熵和最大因果熵逆向强化学习的 Python 实现。
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Maximum Entropy Inverse Reinforcement Learning
This is a python implementation of the Maximum Entropy Inverse Reinforcement Learning (MaxEnt IRL) algorithm based on the similarly named paper by Ziebart et al. and the Maximum Causal Entropy Inverse Reinforcement Learning (MaxCausalEnt IRL) algorithm based on his PhD thesis. Project for the Advanced Seminar in Imitation Learning, summer term 2019, University of Stuttgart.
This implementation is available as python package at https://pypi.org/project/irl-maxent/ and can be installed via pip install irl-maxent.
You may also want to have a look at the accompanying presentation.
For an example demonstrating how the Maximum (non-causal) Entropy IRL algorithm works, see the corresponding Jupyter notebook (notebooks/maxent.ipynb).
Note that the provided python files (src/) contain a slightly more optimized implementation of the algorithms.
To run a demonstration without the notebook, you can directly run ./src/example.py.
Also have a look at this file on how to use the provided framework.
The framework contains:
- Two GridWorld implementations for demonstration (
irl_maxent.gridworld) - The algorithm implementations (
irl_maxent.maxent) - A gradient based optimizer framework (
irl_maxent.optimizer) - Plotting helper functions (
irl_maxent.plot) - A MDP solver framework, i.e. value iteration and corresponding utilities (
irl_maxent.solver) - A trajectory/trajectory generation framework (
irl_maxent.trajectory)
This project solely relies on the following dependencies: numpy, matplotlib, itertools, and pytest.
探索相关项目
加载中…