65da8136dfdb0b21009a082a95fe21bbabb42a87,pliers/tests/test_scikit.py,,test_graph_scikit,#,15

Before Change


    trans = PliersTransformer(graph)
    res = trans.fit_transform([stim1, stim2])
    assert res.shape == (2, 1)
    assert res[0][0] == 0
    assert res[1][0] == 4


def test_extractor_scikit():

After Change



def test_graph_scikit():
    pytest.importorskip("pytesseract")
    pytest.importorskip("sklearn")
    image_dir = join(get_test_data_path(), "image")
    stim1 = join(image_dir, "apple.jpg")
    stim2 = join(image_dir, "button.jpg")
    graph_spec = join(get_test_data_path(), "graph", "simple_graph.json")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: tyarkoni/pliers
Commit Name: 65da8136dfdb0b21009a082a95fe21bbabb42a87
Time: 2017-05-03
Author: quinten.mcnamara@gmail.com
File Name: pliers/tests/test_scikit.py
Class Name:
Method Name: test_graph_scikit


Project Name: tensorly/tensorly
Commit Name: 9b8ad4977dd57c82b11145419ad4238cf9f7342e
Time: 2018-09-28
Author: jiminy.crist@gmail.com
File Name: tensorly/tests/test_backend.py
Class Name:
Method Name: test_set_backend


Project Name: dirty-cat/dirty_cat
Commit Name: 489544b2d968811744e6d65e6c7ebdef09130455
Time: 2020-06-21
Author: adsouza41@gatech.edu
File Name: dirty_cat/test/test_similarity_encoder.py
Class Name:
Method Name: _test_missing_values


Project Name: dit/dit
Commit Name: 871efe7cbf95f2deded3d8b673b7b3c68b816e4c
Time: 2018-02-12
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/common_informations/tests/test_wyner_common_information.py
Class Name:
Method Name: test_wci3