code: def __init__(self, obs_dim, act_dim, learning_rate):
      self.learning_rate = learning_rate
      # init weights
      self.w = np.random.random((act_dim, obs_dim)) * 0.1
      self.b = np.zeros(act_dim)
      self.weights_total_size = self.w.size + self.b.size
  
file_path: PARL/examples/others/deepes.py
imports: import gym
  import numpy
label_desc: Use image node_id 1 to create a new CartpoleAgent object from inherited base classes: object with example: obj = CartpoleAgent(obs_dim, act_dim, learning_rate)