c813b290c4e2f8938ae7a201f7f35a80a869a1a0,nisl/decomposition/canica.py,CanICA,fit,#CanICA#Any#Any#,98

Before Change


            std[std==0] = 1
            subject_data /= std
            subject_data = subject_data.T
            subject_data = self.memory.cache(linalg.svd)(subject_data,
                    full_matrices=False)[0]
            subject_data = subject_data[:, :2 * self.n_components]
            pcas.append(subject_data)
            del subject_data

        if self.kurtosis_thr is None:

After Change


        pcas = Parallel(n_jobs=self.n_jobs, verbose=self.verbose)(
                delayed(subject_pca)(subject_data,
                    n_components=self.n_components, mem=self.mem)
                for subject_data in data)
        pcas = np.concatenate(pcas, axis=1)

        if self.kurtosis_thr is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilearn/nilearn
Commit Name: c813b290c4e2f8938ae7a201f7f35a80a869a1a0
Time: 2012-10-19
Author: alexandre.abraham@cea.fr
File Name: nisl/decomposition/canica.py
Class Name: CanICA
Method Name: fit


Project Name: nilearn/nilearn
Commit Name: 1adf6bb44e1897757464394bcf7502de30278b16
Time: 2015-04-20
Author: abraham.alexandre@gmail.com
File Name: nilearn/_utils/niimg_conversions.py
Class Name:
Method Name: _iter_check_niimg


Project Name: Pinafore/qb
Commit Name: 2f74f04253d5a90459401d0f09ea0559d50371a0
Time: 2016-06-25
Author: ski.rodriguez@gmail.com
File Name: util/guess.py
Class Name: GuessList
Method Name: check_recall