c813b290c4e2f8938ae7a201f7f35a80a869a1a0,nisl/decomposition/canica.py,CanICA,fit,#CanICA#Any#Any#,98
Before Change
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:
group_maps = self.memory.cache(randomized_svd)(
After Change
// Probably a list
data = copy.deepcopy(data)
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:
// Do PCAs and CCAs
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
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: dmlc/gluon-nlp
Commit Name: 090944e816fd3ff8e861fba4452851e0a901491d
Time: 2019-01-28
Author: linhaibin.eric@gmail.com
File Name: scripts/language_model/large_word_language_model.py
Class Name:
Method Name: train
Project Name: nilearn/nilearn
Commit Name: 80e94afa47296efd32a720686eca3c6d327d95e3
Time: 2013-08-26
Author: philippe.gervais@inria.fr
File Name: nilearn/group_sparse_covariance.py
Class Name: GroupSparseCovarianceCV
Method Name: fit