crazydonkey200 / neural-symbolic-machines

Neural Symbolic Machines is a framework to integrate neural networks and symbolic representations using reinforcement learning, with applications in program synthesis and semantic parsing.
Apache License 2.0
375 stars 69 forks source link

Hard to find the code where the reward guide the training. #29

Closed guotong1988 closed 5 years ago

guotong1988 commented 5 years ago

Sorry to trouble you, but there are too much code. Would you please point out the code place about the core of REINFORCE algorithm. Thank you very much.

crazydonkey200 commented 5 years ago

https://github.com/crazydonkey200/neural-symbolic-machines/blob/master/nsm/agent_factory.py#L137

guotong1988 commented 5 years ago

image Thank you very much!