Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VinF/deer
/ types & classes
Types & classes
49 in github.com/VinF/deer
⨍
Functions
287
◇
Types & classes
49
↓ 11 callers
Class
EpsilonGreedyPolicy
The policy acts greedily with probability :math:`1-\epsilon` and acts randomly otherwise. It is now used as a default policy for the neural agent.
deer/policies/EpsilonGreedyPolicy.py:4
↓ 10 callers
Class
NeuralAgent
The NeuralAgent class wraps a learning algorithm (such as a deep Q-network) for training and testing in a given environment. Attach controlle
deer/agent.py:19
↓ 6 callers
Class
MyQNetwork
Deep Q-learning network using Keras (with any backend) Parameters ----------- environment : object from class Environment
deer/learning_algos/q_net_keras.py:14
↓ 5 callers
Class
AgentError
Exception raised for errors when calling the various Agent methods at wrong times. Attributes: expr -- input expression in which the error
deer/agent.py:424
↓ 5 callers
Class
CircularBuffer
deer/agent.py:821
↓ 5 callers
Class
SliceError
Exception raised for errors when getting slices from CircularBuffers. Attributes: expr -- input expression in which the error occurred
deer/agent.py:874
↓ 3 callers
Class
CRAR
Combined Reinforcement learning via Abstract Representations (CRAR) using Keras Parameters ----------- environment : object from
deer/learning_algos/CRAR_keras.py:41
↓ 3 callers
Class
Node
deer/helper/tree.py:14
↓ 2 callers
Class
DataSet
A replay memory consisting of circular buffers for observations, actions, rewards and terminals.
deer/agent.py:443
↓ 2 callers
Class
LongerExplorationPolicy
Simple alternative to :math:`\epsilon`-greedy that can explore more efficiently for a broad class of realistic problems. Parameters -----
deer/policies/LongerExplorationPolicy.py:11
↓ 1 callers
Class
Cell
examples/maze/a_star_path_finding.py:8
↓ 1 callers
Class
MyACNetwork
Actor-critic learning (using Keras) with Deep Deterministic Policy Gradient (DDPG) for the continuous action domain Parameters -
deer/learning_algos/AC_net_keras.py:18
↓ 1 callers
Class
MyEnv
examples/MG_two_storages/MG_two_storages_env.py:22
↓ 1 callers
Class
MyEnv
examples/maze/maze_env.py:17
↓ 1 callers
Class
MyEnv
examples/toy_env/Toy_env.py:20
↓ 1 callers
Class
MyEnv
examples/gym/mountain_car_continuous_env.py:12
↓ 1 callers
Class
MyEnv
examples/gym/pendulum_env.py:7
↓ 1 callers
Class
MyEnv
examples/gym/mountain_car_env.py:8
↓ 1 callers
Class
SumTree
deer/helper/tree.py:37
Class
AStar
examples/maze/a_star_path_finding.py:52
Class
AgentWarning
Warning issued of the various Agent methods. Attributes: expr -- input expression in which the error occurred msg -- explanation
deer/agent.py:436
Class
Controller
A base controller that does nothing when receiving the various signals emitted by an agent. This class should be the base class of any controller
deer/experiment/base_controllers.py:16
Class
Defaults
examples/ALE/run_ALE.py:19
Class
Defaults
examples/MG_two_storages/run_MG_two_storages.py:22
Class
Defaults
examples/test_CRAR/run_simple_maze.py:20
Class
Defaults
examples/test_CRAR/run_catcher.py:20
Class
Defaults
examples/maze/run_maze.py:21
Class
Defaults
examples/toy_env/run_toy_env.py:17
Class
Defaults
examples/gym/run_mountain_car_continuous.py:18
Class
Defaults
examples/gym/run_pendulum.py:17
Class
Defaults
examples/gym/run_mountain_car.py:17
Class
DiscountFactorController
A controller that modifies the q-network discount periodically (only in training mode, i.e., agent.mode() == -1). More informations in : Francois-
deer/experiment/base_controllers.py:236
Class
Environment
All your Environment classes should inherit this interface. The environment defines the dynamics and the reward signal that the agent observe
deer/base_classes/environment.py:8
Class
EpsilonController
A controller that modifies the probability "epsilon" of taking a random action periodically (only in training mode, i.e., agent.mode() == -1).
deer/experiment/base_controllers.py:151
Class
FindBestController
A controller that finds the neural net performing at best in validation mode (i.e. for mode = [validationID]) and computes the associated general
deer/experiment/base_controllers.py:491
Class
InterleavedTestEpochController
A controller that interleaves a valid/test epoch between training epochs of the agent (only in training mode, i.e., agent.mode() == -1). Para
deer/experiment/base_controllers.py:287
Class
LearningAlgo
All the Q-networks, actor-critic networks, etc. should inherit this interface. Parameters ----------- environment : object from class En
deer/base_classes/learning_algo.py:7
Class
LearningRateController
A controller that modifies the learning rate periodically upon epochs end (only in training mode, i.e., agent.mode() == -1). Parameters -
deer/experiment/base_controllers.py:110
Class
MyEnv
examples/ALE/ALE_env.py:14
Class
MyEnv
examples/ALE/ALE_env_gym.py:19
Class
MyEnv
examples/test_CRAR/simple_maze_env.py:20
Class
MyEnv
examples/test_CRAR/catcher_env.py:16
Class
NN
Deep Q-learning network using Keras Parameters ----------- batch_size : int Number of tuples taken into account for each
deer/learning_algos/NN_CRAR_keras.py:13
Class
NN
Deep Q-learning network with LSTM's using Keras Parameters ----------- batch_size : int Number of tuples taken into acco
deer/learning_algos/NN_keras_LSTM.py:11
Class
NN
Deep Q-learning network using Keras Parameters ----------- batch_size : int Number of tuples taken into account for each
deer/learning_algos/NN_keras.py:10
Class
Policy
Abstract class for all policies. A policy takes observations as input, and outputs an action. Parameters ----------- learning_algo :
deer/base_classes/policy.py:8
Class
TestStringMethods
deer/tests/test_base.py:4
Class
TrainerController
A controller that makes the agent train on its current database periodically (only in training mode, i.e., agent.mode() == -1). Parameters --
deer/experiment/base_controllers.py:351
Class
VerboseController
A controller that print various agent information periodically: * Count of passed [evaluateOn] * Agent current learning rate * Agent
deer/experiment/base_controllers.py:419