c0d5e4e1aee283f406b889b97ac8725e90b95e80,contrib/rl/tictactoe.py,,main,#,182
Before Change
def main():
value_weight = 0.70
score = eval_tic_tac_toe(value_weight)
with open("tictactoe_converge_lambda1.json", "w") as fout:
fout.write(json.dumps(score))
if __name__ == "__main__":
main()
After Change
def main():
value_weight = 6.0
score = eval_tic_tac_toe(value_weight, num_epoch_rounds=10)
print(score)
if __name__ == "__main__":
main()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: deepchem/deepchem
Commit Name: c0d5e4e1aee283f406b889b97ac8725e90b95e80
Time: 2017-05-25
Author: Karl
File Name: contrib/rl/tictactoe.py
Class Name:
Method Name: main
Project Name: snipsco/snips-nlu
Commit Name: 75ddbb82547e8eb3ea206d27051835c92b8291ce
Time: 2018-07-09
Author: adrien.ball@snips.net
File Name: snips_nlu/cli/training.py
Class Name:
Method Name: train
Project Name: bokeh/bokeh
Commit Name: 3e802d4f61abf9fb1b88add829b76f1e309f9957
Time: 2017-02-16
Author: mattpap@gmail.com
File Name: tests/examples/examples_report_plugin.py
Class Name: ExamplesTestReport
Method Name: pytest_sessionfinish