From fea95abf932f93d24024070d9d429e0a2ca8b048 Mon Sep 17 00:00:00 2001 From: Jiayu <j285wu@uwaterloo.ca> Date: Fri, 3 Jul 2020 17:43:42 -0400 Subject: [PATCH] emm --- Policy_Iteration.py | 0 Value_Interation.py | 0 Value_Iteration.py | 16 ++++++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 Policy_Iteration.py create mode 100644 Value_Interation.py create mode 100644 Value_Iteration.py diff --git a/Policy_Iteration.py b/Policy_Iteration.py new file mode 100644 index 0000000..e69de29 diff --git a/Value_Interation.py b/Value_Interation.py new file mode 100644 index 0000000..e69de29 diff --git a/Value_Iteration.py b/Value_Iteration.py new file mode 100644 index 0000000..aea7540 --- /dev/null +++ b/Value_Iteration.py @@ -0,0 +1,16 @@ + +import numpy as np +import pandas as pd + + +class rlalgorithm: + def __init__(self, actions, ...): + self.actions = actions + + def choose_action(self, observation): + # implement this. + return action + + def learn(...): + #implement this. Learn something from the transition + -- GitLab