e753bb1b0170eb3d6fabc93311c31f4094f1cdad,tslearn/tests/test_serialize_models.py,,test_serialize_knn,#,195

Before Change


def test_serialize_knn():
    seed = 0
    numpy.random.seed(seed)
    X_train, y_train, X_test, y_test = CachedDatasets().load_dataset("Trace")

    n_queries = 2
    n_neighbors = 4

After Change




def test_serialize_knn():
    n, sz, d = 15, 10, 3
    rng = numpy.random.RandomState(0)
    X = rng.randn(n, sz, d)
    y = rng.randint(low=0, high=3, size=n)

    n_neighbors = 3
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 8

Instances


Project Name: rtavenar/tslearn
Commit Name: e753bb1b0170eb3d6fabc93311c31f4094f1cdad
Time: 2020-01-22
Author: kushalkolar@gmail.com
File Name: tslearn/tests/test_serialize_models.py
Class Name:
Method Name: test_serialize_knn


Project Name: rtavenar/tslearn
Commit Name: e753bb1b0170eb3d6fabc93311c31f4094f1cdad
Time: 2020-01-22
Author: kushalkolar@gmail.com
File Name: tslearn/tests/test_serialize_models.py
Class Name:
Method Name: test_serialize_kshape


Project Name: rtavenar/tslearn
Commit Name: e753bb1b0170eb3d6fabc93311c31f4094f1cdad
Time: 2020-01-22
Author: kushalkolar@gmail.com
File Name: tslearn/tests/test_serialize_models.py
Class Name:
Method Name: test_serialize_global_alignment_kernel_kmeans


Project Name: rtavenar/tslearn
Commit Name: e753bb1b0170eb3d6fabc93311c31f4094f1cdad
Time: 2020-01-22
Author: kushalkolar@gmail.com
File Name: tslearn/tests/test_serialize_models.py
Class Name:
Method Name: test_serialize_knn


Project Name: rtavenar/tslearn
Commit Name: e753bb1b0170eb3d6fabc93311c31f4094f1cdad
Time: 2020-01-22
Author: kushalkolar@gmail.com
File Name: tslearn/tests/test_serialize_models.py
Class Name:
Method Name: test_serialize_timeserieskmeans


Project Name: rtavenar/tslearn
Commit Name: e753bb1b0170eb3d6fabc93311c31f4094f1cdad
Time: 2020-01-22
Author: kushalkolar@gmail.com
File Name: tslearn/tests/test_serialize_models.py
Class Name:
Method Name: test_serialize_knn_classifier