710d770f1a3a9c57f70134d8a08e12cb153812d0,examples/benchmark_parallel.py,,,#,66

Before Change


    print("K-Protoypes took {:.2f} s for 1 thread and {:.2f} s for 4 threads:"
          " a {:.1f}x speed-up".format(res_kproto[0], res_kproto[1],
                                       res_kproto[0] / res_kproto[1]))
    print("K-Modes took {:.2f} s for 1 thread and {:.2f} s for 4 threads:"
          " a {:.1f}x speed-up".format(res_kmodes[0], res_kmodes[1],
                                       res_kmodes[0] / res_kmodes[1]))


After Change


    print("\nRunning K-Modes on 1 to {} cores for {} initialization tries "
          "of {} clusters with {}" " points of {} features".format(
           C, C, K, N_kmodes, M))
    run(_kmodes, C)



Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: nicodv/kmodes
Commit Name: 710d770f1a3a9c57f70134d8a08e12cb153812d0
Time: 2018-07-24
Author: robinhes@outlook.com
File Name: examples/benchmark_parallel.py
Class Name:
Method Name:


Project Name: reinforceio/tensorforce
Commit Name: 3882ff98e3a8e2a4e16393e72f7107e191c06cf7
Time: 2017-05-15
Author: mi.schaarschmidt@gmail.com
File Name: tensorforce/tests/test_dqfd_agent.py
Class Name: TestDQFDAgent
Method Name: test_dqfd_agent


Project Name: pantsbuild/pants
Commit Name: da0989f9f00cf2a9eca58410a721d23a1fdf72bb
Time: 2019-08-19
Author: ericarellano@me.com
File Name: contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_checkstyle.py
Class Name: CheckstyleTest
Method Name: build_checker_wheel


Project Name: pantsbuild/pants
Commit Name: 1d1cfbaea0c640ed20defa24d2cc688c6132f32b
Time: 2019-11-19
Author: ericarellano@me.com
File Name: contrib/awslambda/python/tests/python/pants_test/contrib/awslambda/python/test_python_awslambda_integration.py
Class Name: PythonAWSLambdaIntegrationTest
Method Name: test_awslambda_bundle