6e4757e57341c0714ac83cfdf106058df12aa52d,tests/test_linalg.py,test_linalg,setUp,#test_linalg#,42

Before Change



        self.Xd = gpuarray.GPUArray((self.M, self.N), np.float64, order="F")
        self.Xd.set(Xd_)
        self.Xf = gpuarray.GPUArray((self.M, self.N), np.float32, order="F")
        self.Xf.set(Xf_)
        
    def test_pca_ortho_type_and_shape_float64_all_comp(self):
        // test that the shape is what we think it should be
        Td_all = self.test_pca.fit_transform(self.Xd)

After Change



        self.Xd = gpuarray.to_gpu(Xd_)
        self.Xf = gpuarray.to_gpu(Xf_)
        self.XdT = gpuarray.to_gpu(Xd_.T.copy())
        self.XfT = gpuarray.to_gpu(Xf_.T.copy())
        
    def test_pca_ortho_type_and_shape_float64_all_comp(self):
        // test that the shape is what we think it should be
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: lebedov/scikit-cuda
Commit Name: 6e4757e57341c0714ac83cfdf106058df12aa52d
Time: 2019-08-03
Author: udrobots@gmail.com
File Name: tests/test_linalg.py
Class Name: test_linalg
Method Name: setUp


Project Name: lebedov/scikit-cuda
Commit Name: 6e4757e57341c0714ac83cfdf106058df12aa52d
Time: 2019-08-03
Author: udrobots@gmail.com
File Name: tests/test_linalg.py
Class Name: test_linalg
Method Name: test_pca_type_error_check


Project Name: lebedov/scikit-cuda
Commit Name: 6e4757e57341c0714ac83cfdf106058df12aa52d
Time: 2019-08-03
Author: udrobots@gmail.com
File Name: tests/test_linalg.py
Class Name: test_linalg
Method Name: test_pca_arr_2d_check