Artificial Intelligence, Machine Learning, Data Science, Reinforcement Learning, Deep Learning.
Feed-Forward Networks with the current state as input The last activation used is ‘tanh’ as the action is in the range -2,2 Note: Tanh outputs values between -1,1 which we need to scale to -2,2 4. Declare Critic and Target Critic Network def critic_network(state_dim, action_dim): # Define the input