Markov Decision Process
Project description
Markov Decision Process
Markov Decision Process
- Markov Decision Process
Installation
pip install TODO
Usage
##################
### Parameters ###
##################
parser = argparse.ArgumentParser()
parser.add_argument('--sample_time', '-Ts', type=float, help='Ts=0.1',
default='0.1', required=False)
parser.add_argument('--gamma', '-gam', type=float, help='gamma=0.9',
default='0.9', required=False)
parser.add_argument('--x_grid', '-xgr', type=int, help='x_grid=5',
default='8', required=False)
parser.add_argument('--y_grid', '-ygr', type=int, help='y_grid=5',
default='5', required=False)
args = parser.parse_args()
params = vars(args)
####################################################
### Challenge with Markov Decision Process (MDP) ###
####################################################
# points
P=get_meshgrid_points(params)
# Topology
T, S = get_simple_topology_for_regular_grid(params, P)
# rewards
R = {'38': 100}
mdp_challenge = {'S': S, 'R': R, 'T': T, 'P': P}
dict_mdp=start_mdp(params, mdp_challenge)
plot_the_result(dict_mdp, mdp_challenge)
... should produce:
Citation
Please cite following document if you use this python package:
TODO
Image source: https://www.pexels.com/photo/photo-of-black-and-beige-wooden-chess-pieces-with-white-background-1083355/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for markovdecisionprocess-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f804180a0603e5b2196a695b347daae7f90a672770aa7ef726e65f414858711 |
|
MD5 | 77fdb6d65bc7e43824cd752e6a73d6c3 |
|
BLAKE2b-256 | 9973550e2676d3555b8046dc14c512e0f32023c168dd2162e25f9c40e4fb7e20 |
Close
Hashes for markovdecisionprocess-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9048d1dd790a819af3b1e7dd6817c663142bee19d289ea72c00aeac7d3d6805 |
|
MD5 | 5d736b73a2637eef775ea565bb4df42a |
|
BLAKE2b-256 | 5d338181ac2e172dde62825f3d125b5d148c6516a0b2ec26121eb87c98de1dbd |