|
SELAB3 Python Code
|
Contains the DeepQLearner class and some functions to use this class separately or in coevolution. More...
Classes | |
| class | rl.deep_q_learning.DeepQLearner |
| The Deep Q learner class. More... | |
Functions | |
| List[Arm] | rl.deep_q_learning.train_arms (List[Arm] arms) |
| Run a reinforcement learning training cycle on each given arm and save its success rate. More... | |
| def | rl.deep_q_learning.run_reinforcement_learning (network_path="") |
| Run reinforcement learning: train a network with a certain config and save it in the end. More... | |
Contains the DeepQLearner class and some functions to use this class separately or in coevolution.
| def rl.deep_q_learning.run_reinforcement_learning | ( | network_path = "" | ) |
Run reinforcement learning: train a network with a certain config and save it in the end.
| network_path | The path to a network that is passed when the training has been done, and we want to test. |
| List[Arm] rl.deep_q_learning.train_arms | ( | List[Arm] | arms | ) |
Run a reinforcement learning training cycle on each given arm and save its success rate.
| arms | The list of arms. |