60947fd9ef0e76cbb5c16e47e2b8f4431d18ca67,tests/test_baseline.py,,test_diffvc,#,11

Before Change


    static_dim = 2
    T = 10

    windows_set = [
        // Static
        [
            (0, 0, np.array([1.0])),
        ],
        // Static + delta
        [
            (0, 0, np.array([1.0])),
            (1, 1, np.array([-0.5, 0.0, 0.5])),
        ],
        // Static + delta + deltadelta
        [
            (0, 0, np.array([1.0])),
            (1, 1, np.array([-0.5, 0.0, 0.5])),
            (1, 1, np.array([1.0, -2.0, 1.0])),
        ],
    ]

    for windows in windows_set:
        src_mc = np.random.rand(T, static_dim * len(windows))
        tgt_mc = np.random.rand(T, static_dim * len(windows))

After Change


    T = 10

    for windows in _get_windows_set():
        np.random.seed(1234)
        src_mc = np.random.rand(T, static_dim * len(windows))
        tgt_mc = np.random.rand(T, static_dim * len(windows))

        // pseudo parallel data
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: r9y9/nnmnkwii
Commit Name: 60947fd9ef0e76cbb5c16e47e2b8f4431d18ca67
Time: 2017-08-29
Author: zryuichi@gmail.com
File Name: tests/test_baseline.py
Class Name:
Method Name: test_diffvc


Project Name: astroML/astroML
Commit Name: 9997c504c74bc973564e76fb9f4f4e129ccfe542
Time: 2018-11-30
Author: bsipocz@gmail.com
File Name: astroML/density_estimation/tests/test_xdeconv.py
Class Name:
Method Name: test_single_gaussian


Project Name: luispedro/mahotas
Commit Name: 93663c2cc8c0c8bc3c6f28c27679707305948c80
Time: 2010-05-11
Author: lpc@cmu.edu
File Name: tests/test_texture.py
Class Name:
Method Name: test_cooccurence