1881403cc6f277fba48111952e168f50f66cf7c9,perf_tests/batch_vs_single.py,,,#,14

Before Change


results = results.rename(columns={"level_0": "N", "level_1": "frac", "level_2": "N_vars"})
results["ratio"] = results["batch"] / results["single"]

print(results)
results.to_csv("perf_results.csv", index=False)


results["N * frac"] = results["N"] * results["frac"]

After Change


// write from scratch!
// results.to_csv("batch_vs_single_perf_results.csv", index=False)

results = pd.read_csv("batch_vs_single_perf_results.csv")

results["log_frac"] = np.log(results["frac"])
results["N * log_frac"] = results["N"] * results["log_frac"]
results["N**2"] = results["N"] ** 2
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: CamDavidsonPilon/lifelines
Commit Name: 1881403cc6f277fba48111952e168f50f66cf7c9
Time: 2020-08-03
Author: cam.davidson.pilon@gmail.com
File Name: perf_tests/batch_vs_single.py
Class Name:
Method Name:


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 56151b50de5b3e9a6dfe815d679718d4ea765879
Time: 2016-11-11
Author: cuducos@gmail.com
File Name: src/fetch_sex_places.py
Class Name:
Method Name:


Project Name: freelunchtheorem/Conditional_Density_Estimation
Commit Name: 508078a326ad01638f825e560db8d4a369f5fb27
Time: 2019-01-06
Author: jonas.rothfuss@gmx.de
File Name: cde/empirical_evaluation/moments_time_series.py
Class Name:
Method Name: main