1401e8bd2bdbccbedb696bd742e4934d5ba96fcb,tests/test_clustersupervisor.py,,,#,9

Before Change



TEST_CLUSTERS = np.array(([1] * 10) + ([2] * 10))

TEST_LABELS_STR = {"1.2", "2.2"}
TEST_LABELS_NUM = {1.2, 2.2}
TEST_LABELS_CHAR = {"hello1", "hello2"}

data_opts = [TEST_DF, TEST_SERIES, TEST_ARRAY, TEST_LIST]
label_opts = [TEST_LABELS_NUM, TEST_LABELS_STR, TEST_LABELS_CHAR]


@pytest.mark.parametrize(
    ("features", "shuffle", "clusterlabels", "labels"),

After Change



from superintendent import ClusterSupervisor

TEST_ARRAY = np.array([[1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2, 3]])
TEST_LABELS = np.array([1, 1, 2, 2])
TEST_REPRESENTATIVENESS = np.array([0.5, 0.4, 0.6, 0.9])

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: janfreyberg/superintendent
Commit Name: 1401e8bd2bdbccbedb696bd742e4934d5ba96fcb
Time: 2018-10-31
Author: janfreyberg@users.noreply.github.com
File Name: tests/test_clustersupervisor.py
Class Name:
Method Name:


Project Name: BYU-PCCL/holodeck
Commit Name: 8d22df2da592ae8c20b2a363e0cda35ddfea6180
Time: 2016-12-13
Author: derekhancock44@gmail.com
File Name: Holodeck/holodeck_agents.py
Class Name: SphereRobotAgent
Method Name: __init__


Project Name: BYU-PCCL/holodeck
Commit Name: 8d22df2da592ae8c20b2a363e0cda35ddfea6180
Time: 2016-12-13
Author: derekhancock44@gmail.com
File Name: Holodeck/holodeck_agents.py
Class Name: AndroidAgent
Method Name: __init__