Namespaces | Functions | Variables
qtable.py File Reference

Go to the source code of this file.

Namespaces

 qtable
 

Functions

def qtable.rendertrial (maxiter=100)
 

Variables

float qtable.DECAY_RATE = 0.99
 
 qtable.env = DPendulum()
 — Environment More...
 
list qtable.h_rwd = []
 
float qtable.LEARNING_RATE = 0.85
 
int qtable.NEPISODES = 500
 — Hyper paramaters More...
 
int qtable.NSTEPS = 50
 
 qtable.NU = env.nu
 
 qtable.NX = env.nx
 
 qtable.Q = np.zeros([env.nx,env.nu])
 
 qtable.Qref = reward+DECAY_RATE*np.max(Q[x2,:])
 
 qtable.RANDOM_SEED = int((time.time()%10)*1000)
 — Random seed More...
 
 qtable.reward
 
float qtable.rsum = 0.0
 
 qtable.u = np.argmax(Q[x,:] + np.random.randn(1,NU)/episode)
 
 qtable.x = env.reset()
 
 qtable.x2
 


pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:05