4941ef9a9d7f30957b343486bb3f164b0fa3a900,entity2rec/optimize_hyper_params.py,,,#,7
Before Change
hyper_opt_write.write("%.2f,%.2f,%d,%d,%d,%d" % (p, q, c, d, walks, length))
for name, score in scores[0:-1]:
hyper_opt_write.write("%f," % score)
hyper_opt_write.write("%f\n" % scores[-1][1])
After Change
hyper_opt_write.write("%.2f,%.2f,%d,%d,%d,%d," % (p, q, c, d, walks, length))
for (strategy_name, metric_name), (mean, var) in results.items():
if strategy_name == "l2r":
hyper_opt_write.write("%.4f," % mean)
hyper_opt_write.write("\n")

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: D2KLab/entity2rec
Commit Name: 4941ef9a9d7f30957b343486bb3f164b0fa3a900
Time: 2018-08-01
Author: enricopalumbo0@gmail.com
File Name: entity2rec/optimize_hyper_params.py
Class Name:
Method Name:
Project Name: arviz-devs/arviz
Commit Name: ae0138c4c9921c4280d20c0351d56ad6de448cfb
Time: 2020-08-02
Author: ahartikainen@users.noreply.github.com
File Name: arviz/data/io_cmdstan.py
Class Name: CmdStanConverter
Method Name: _parse_posterior
Project Name: arviz-devs/arviz
Commit Name: ae0138c4c9921c4280d20c0351d56ad6de448cfb
Time: 2020-08-02
Author: ahartikainen@users.noreply.github.com
File Name: arviz/data/io_cmdstan.py
Class Name: CmdStanConverter
Method Name: _parse_prior