MCPcopy Create free account

hub / github.com/LiSir-HIT/Reinforcement-Learning / functions

Functions88 in github.com/LiSir-HIT/Reinforcement-Learning

↓ 10 callersMethodreset
(self)
build_env/pygame/1. Hit the Plane/run_this.py:59
↓ 7 callersMethodsample
(self, batch_size)
Model/1. DQN/RL_brain.py:20
↓ 4 callersMethodrender
(self)
build_env/pygame/2. shopping mall/run_this.py:53
↓ 4 callersMethodupdate
(self, transition_dict)
Model/1. DQN/RL_brain.py:94
↓ 2 callersMethod__init__
(self, n_states, n_hiddens, n_actions, actor_lr, critic_lr, lmbda, eps, gam
Model/9. ippo_discrete/RL_brain.py:49
↓ 2 callersMethod__init__
(self, n_states, n_hiddens, n_actions, action_bound, sigma, actor_lr, critic_lr, tau, gamma,
Model/5. DDPG/RL_brain.py:78
↓ 2 callersMethod__init__
(self, n_states, n_hiddens, n_actions, actor_lr, critic_lr, lmbda, epochs, e
Model/7. PPO_Continuous/RL_brain.py:48
↓ 2 callersMethod__init__
(self, n_states, n_hiddens, n_actions, actor_lr, critic_lr, alpha_lr, target
Model/8. SAC_Discrete/RL_brain.py:68
↓ 2 callersMethod__init__
(self, n_states, n_hiddens, n_actions, actor_lr, critic_lr, lmbda, epochs, eps, gamma, device
Model/6. PPO_Discrete/RL_brain.py:43
↓ 2 callersMethodlearn
(self, transition_dict)
Model/6. PPO_Discrete/RL_brain.py:73
↓ 2 callersMethodsample
(self, batch_size)
Model/8. SAC_Discrete/RL_brain.py:20
↓ 2 callersMethodsoft_update
(self, net, target_net)
Model/5. DDPG/RL_brain.py:118
↓ 2 callersMethodsoft_update
(self, net, target_net)
Model/8. SAC_Discrete/RL_brain.py:139
↓ 2 callersMethodtake_action
(self, state)
Model/9. ippo_discrete/RL_brain.py:68
↓ 2 callersMethodupdate
(self, transition_dict)
Model/9. ippo_discrete/RL_brain.py:76
↓ 1 callersMethod__init__
(self, n_states, n_hiddens)
Model/4. Actor-Critic/RL_brain.py:29
↓ 1 callersMethod_build_net
(self)
Model/3. Policy-Gradients/RL_brain.py:40
↓ 1 callersMethod_build_net
(self)
Model/2. Double-DQN/RL_brain.py:40
↓ 1 callersMethodadd
(self, state, action, reward, next_state, done)
Model/5. DDPG/RL_brain.py:17
↓ 1 callersMethodadd
(self, state, action, reward, next_state, done)
Model/1. DQN/RL_brain.py:17
↓ 1 callersMethodadd
(self, state, action, reward, next_state, done)
Model/8. SAC_Discrete/RL_brain.py:17
↓ 1 callersMethodcalc_target
(self, rewards, next_states, dones)
Model/8. SAC_Discrete/RL_brain.py:119
↓ 1 callersFunctioncheck_is_over
()
build_env/pygame/1. Hit the Plane/run_this.py:167
↓ 1 callersFunctiondistance
(bx,by, ex,ey)
build_env/pygame/1. Hit the Plane/run_this.py:105
↓ 1 callersMethodhit
(self)
build_env/pygame/1. Hit the Plane/run_this.py:123
↓ 1 callersMethodlearn
(self, transitions_dict)
Model/3. Policy-Gradients/RL_brain.py:69
↓ 1 callersMethodlearn
(self, transitions_dict)
Model/2. Double-DQN/RL_brain.py:69
↓ 1 callersMethodmax_q_value
(self, state)
Model/3. Policy-Gradients/RL_brain.py:61
↓ 1 callersMethodmax_q_value
(self, state)
Model/2. Double-DQN/RL_brain.py:61
↓ 1 callersFunctionmove_player
()
build_env/pygame/1. Hit the Plane/run_this.py:90
↓ 1 callersMethodsample
(self, batch_size)
Model/5. DDPG/RL_brain.py:21
↓ 1 callersFunctionshow_buttet
()
build_env/pygame/1. Hit the Plane/run_this.py:142
↓ 1 callersFunctionshow_enemy
()
build_env/pygame/1. Hit the Plane/run_this.py:74
↓ 1 callersFunctionshow_score
()
build_env/pygame/1. Hit the Plane/run_this.py:157
↓ 1 callersMethodsize
(self)
Model/5. DDPG/RL_brain.py:27
↓ 1 callersMethodsize
(self)
Model/1. DQN/RL_brain.py:26
↓ 1 callersMethodsize
(self)
Model/8. SAC_Discrete/RL_brain.py:26
↓ 1 callersMethodtake_action
(self, state)
Model/5. DDPG/RL_brain.py:108
↓ 1 callersMethodtake_action
(self, state)
Model/3. Policy-Gradients/RL_brain.py:47
↓ 1 callersMethodtake_action
(self, state)
Model/7. PPO_Continuous/RL_brain.py:68
↓ 1 callersMethodtake_action
(self, state)
Model/2. Double-DQN/RL_brain.py:47
↓ 1 callersMethodtake_action
(self, state)
Model/1. DQN/RL_brain.py:78
↓ 1 callersMethodtake_action
(self, state)
Model/4. Actor-Critic/RL_brain.py:60
↓ 1 callersMethodtake_action
(self, state)
Model/8. SAC_Discrete/RL_brain.py:107
↓ 1 callersMethodtake_action
(self, state)
Model/6. PPO_Discrete/RL_brain.py:61
↓ 1 callersMethodupdate
(self, transition_dict)
Model/5. DDPG/RL_brain.py:125
↓ 1 callersMethodupdate
(self, transition_dict)
Model/4. Actor-Critic/RL_brain.py:72
↓ 1 callersMethodupdate
(self, transition_dict)
Model/8. SAC_Discrete/RL_brain.py:146
Method__init__
(self, n_states, n_hiddens, n_actions)
Model/9. ippo_discrete/RL_brain.py:12
Method__init__
(self, n_states, n_hiddens)
Model/9. ippo_discrete/RL_brain.py:31
Method__init__
(self, capacity)
Model/5. DDPG/RL_brain.py:13
Method__init__
(self, n_states, n_hiddens, n_actions, action_bound)
Model/5. DDPG/RL_brain.py:35
Method__init__
(self, n_states, n_hiddens, n_actions)
Model/5. DDPG/RL_brain.py:56
Method__init__
(self, n_states, n_hiddens, n_actions)
Model/3. Policy-Gradients/RL_brain.py:11
Method__init__
(self, n_states, n_hiddens, n_actions, learning_rate, gamma)
Model/3. Policy-Gradients/RL_brain.py:29
Method__init__
(self, n_states, n_hiddens, n_actions)
Model/7. PPO_Continuous/RL_brain.py:12
Method__init__
(self, n_states, n_hiddens)
Model/7. PPO_Continuous/RL_brain.py:32
Method__init__
(self, n_states, n_hiddens, n_actions)
Model/2. Double-DQN/RL_brain.py:11
Method__init__
(self, n_states, n_hiddens, n_actions, learning_rate, gamma)
Model/2. Double-DQN/RL_brain.py:29
Method__init__
(self, capacity)
Model/1. DQN/RL_brain.py:13
Method__init__
(self, n_states, n_hidden, n_actions)
Model/1. DQN/RL_brain.py:35
Method__init__
(self, n_states, n_hidden, n_actions, learning_rate, gamma, epsilon, target_
Model/1. DQN/RL_brain.py:53
Method__init__
(self, n_states, n_hiddens, n_actions)
Model/4. Actor-Critic/RL_brain.py:11
Method__init__
(self, n_states, n_hiddens, n_actions, actor_lr, critic_lr, gamma)
Model/4. Actor-Critic/RL_brain.py:45
Method__init__
(self, capacity)
Model/8. SAC_Discrete/RL_brain.py:14
Method__init__
(self, n_states, n_hiddens, n_actions)
Model/8. SAC_Discrete/RL_brain.py:34
Method__init__
(self, n_states, n_hiddens, n_actions)
Model/8. SAC_Discrete/RL_brain.py:52
Method__init__
(self, n_states, n_hiddens, n_actions)
Model/6. PPO_Discrete/RL_brain.py:12
Method__init__
(self, n_states, n_hiddens)
Model/6. PPO_Discrete/RL_brain.py:28
Method__init__
(self)
build_env/pygame/1. Hit the Plane/run_this.py:52
Method__init__
(self)
build_env/pygame/1. Hit the Plane/run_this.py:114
Method__init__
(self)
build_env/pygame/2. shopping mall/run_this.py:8
Methodforward
(self, x)
Model/9. ippo_discrete/RL_brain.py:17
Methodforward
(self, x)
Model/9. ippo_discrete/RL_brain.py:36
Methodforward
(self, x)
Model/5. DDPG/RL_brain.py:43
Methodforward
(self, x, a)
Model/5. DDPG/RL_brain.py:63
Methodforward
(self, x)
Model/3. Policy-Gradients/RL_brain.py:17
Methodforward
(self, x)
Model/7. PPO_Continuous/RL_brain.py:18
Methodforward
(self, x)
Model/7. PPO_Continuous/RL_brain.py:37
Methodforward
(self, x)
Model/2. Double-DQN/RL_brain.py:17
Methodforward
(self, x)
Model/1. DQN/RL_brain.py:42
Methodforward
(self, x)
Model/4. Actor-Critic/RL_brain.py:16
Methodforward
(self, x)
Model/4. Actor-Critic/RL_brain.py:34
Methodforward
(self, x)
Model/8. SAC_Discrete/RL_brain.py:39
Methodforward
(self, x)
Model/8. SAC_Discrete/RL_brain.py:57
Methodforward
(self, x)
Model/6. PPO_Discrete/RL_brain.py:16
Methodforward
(self, x)
Model/6. PPO_Discrete/RL_brain.py:32
Methodupdate
(self, transition_dict)
Model/7. PPO_Continuous/RL_brain.py:80