Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markovdecisionprocess-0.0.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

markovdecisionprocess-0.0.1-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file markovdecisionprocess-0.0.1.tar.gz.

File metadata

  • Download URL: markovdecisionprocess-0.0.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for markovdecisionprocess-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6f804180a0603e5b2196a695b347daae7f90a672770aa7ef726e65f414858711
MD5 77fdb6d65bc7e43824cd752e6a73d6c3
BLAKE2b-256 9973550e2676d3555b8046dc14c512e0f32023c168dd2162e25f9c40e4fb7e20

See more details on using hashes here.

File details

Details for the file markovdecisionprocess-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: markovdecisionprocess-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for markovdecisionprocess-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9048d1dd790a819af3b1e7dd6817c663142bee19d289ea72c00aeac7d3d6805
MD5 5d736b73a2637eef775ea565bb4df42a
BLAKE2b-256 5d338181ac2e172dde62825f3d125b5d148c6516a0b2ec26121eb87c98de1dbd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page