Artificial Intelligence, Machine Learning, Data Science, Reinforcement Learning, OpenAI.
could have taken two separate Neural Networks as well for Critic and Actor respectively. Input shape is state space shape. 4. Declaring a few constants num_episodes = 10000 gamma = tf.cast(tf.constant(0.9),tf.float64) count = 0 n = 5 #keep n very small min_loss = math.inf maxlen = n states =