17527ace86a95937c66a71e2cd1f3e2ef088684b,nnmnkwii/preprocess/alignment.py,IterativeDTWAligner,transform,#IterativeDTWAligner#Any#,45

Before Change



            for idx in range(len(Xc)):
                x = trim_zeros_frames(Xc[idx])
                Xc[idx][:len(x)] = np.apply_along_axis(paramgen.transform, 1, x)

        // Finally we can get aligned X
        for idx in range(len(X_aligned)):
            x = X[idx][refined_paths[idx]]

After Change


            XY = np.concatenate((X_aligned, Y_aligned),
                                axis=-1).reshape(-1, X.shape[-1] * 2)
            gmm.fit(XY)
            paramgen = MLParameterGeneration(gmm, X.shape[-1])
            for idx in range(len(Xc)):
                x = trim_zeros_frames(Xc[idx])
                Xc[idx][:len(x)] = paramgen.transform(x)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: r9y9/nnmnkwii
Commit Name: 17527ace86a95937c66a71e2cd1f3e2ef088684b
Time: 2017-07-05
Author: zryuichi@gmail.com
File Name: nnmnkwii/preprocess/alignment.py
Class Name: IterativeDTWAligner
Method Name: transform


Project Name: PyMVPA/PyMVPA
Commit Name: a0bb74b7e7e8373016caeba358992ff8116705c0
Time: 2015-03-31
Author: michael.hanke@gmail.com
File Name: mvpa2/algorithms/stelzer_clusterthr.py
Class Name:
Method Name: get_thresholding_map


Project Name: Esri/raster-functions
Commit Name: b39ae1072934ad146759cd1941931433908ed0d7
Time: 2015-02-07
Author: jwasilkowski@esri.com
File Name: functions/LinearSpectralUnmixing.py
Class Name: LinearSpectralUnmixing
Method Name: updatePixels