ca907342507c1139696f542de0a3351d7a382eee,reinforcement_learning/reinforce.py,,,#,77
Before Change
if i_episode % args.log_interval == 0:
print("Episode {}\tLast length: {:5d}\tAverage length: {:.2f}".format(
i_episode, t, running_reward))
if running_reward > env.spec.reward_threshold:
print("Solved! Running reward is now {} and "
"the last episode runs to {} time steps!".format(running_reward, t))
break
After Change
break
if __name__ == "__main__":
main()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 8
Instances
Project Name: pytorch/examples
Commit Name: ca907342507c1139696f542de0a3351d7a382eee
Time: 2017-12-04
Author: sgross@fb.com
File Name: reinforcement_learning/reinforce.py
Class Name:
Method Name:
Project Name: pytorch/examples
Commit Name: ca907342507c1139696f542de0a3351d7a382eee
Time: 2017-12-04
Author: sgross@fb.com
File Name: reinforcement_learning/actor_critic.py
Class Name:
Method Name:
Project Name: suavecode/SUAVE
Commit Name: 0ff4275cf16d0cf4f7d584efef54c786f6a17d19
Time: 2020-12-24
Author: ebotero@stanford.edu
File Name: regression/scripts/AVL/test_AVL.py
Class Name:
Method Name:
Project Name: suavecode/SUAVE
Commit Name: 0ff4275cf16d0cf4f7d584efef54c786f6a17d19
Time: 2020-12-24
Author: ebotero@stanford.edu
File Name: regression/scripts/B737/mission_B737.py
Class Name:
Method Name: