Skip to content
DavidDB33 edited this page Feb 8, 2019 · 11 revisions

Wiki of the modules.

Only for personal use at this moment.

If you want more info about, please, contact me. You can contribute if you want, including the nomenclature if some name is commonly used with another name.

How to start

If you want to execute some .py in root directory, you need a redis server up on standard port and localhost. You can use other ip:port if you modify the code.

Install redis in the official page.

Summary

Penv

  • .info() -> [Info]
  • .step(a) -> double

Info

  • .mean -> double

Persistance

  • .set(s, a, v) -> None
  • .get(s, a) -> (double, int)
  • .get_items(s) -> generator<(int, (double, int))>
  • .flush() -> None

RL

  • get_best_action(s) -> int
  • get_action_value(s, a) -> (double, int)
  • get_actions(s) -> [int]
  • get_action_values(s) -> [(double, int)]
  • get_max_value(s) -> (double, int)
  • set(s, a, v) -> None
  • update(s, a, r) -> None
Clone this wiki locally