def main(args): # environment env = GridWorld() # agent agent = TDAgent( env, epsilon=args.epsilon, gamma=args.discout, alpha=0.05, lamda=0.7) agent.control(method=args.algorithm)
def main(args): env = GridWorld() agent = TDAgent(env, epsilon=args.epsilon, gamma=args.discount, alpha=args.lr) agent.control(method=args.algorithm)