ea0fa4da749d5a63695b52392377aa8534598fea,brainiak/funcalign/srm.py,DetSRM,_srm,#DetSRM#Any#,608
Before Change
subjects = len(data)
np.random.seed(self.rand_seed)
// Initialization step: initialize the outputs with initial values,
// voxels with the number of voxels in each subject.
w, _ = _init_w_transforms(data, self.features)
After Change
subjects = len(data)
self.random_state_ = np.random.RandomState(self.rand_seed)
random_states = [
np.random.RandomState(self.random_state_.randint(2**32))
for i in range(len(data))]
// Initialization step: initialize the outputs with initial values,
// voxels with the number of voxels in each subject.
w, _ = _init_w_transforms(data, self.features, random_states)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 14
Instances Project Name: brainiak/brainiak
Commit Name: ea0fa4da749d5a63695b52392377aa8534598fea
Time: 2017-05-11
Author: mihai@mihaic.ro
File Name: brainiak/funcalign/srm.py
Class Name: DetSRM
Method Name: _srm
Project Name: brainiak/brainiak
Commit Name: ea0fa4da749d5a63695b52392377aa8534598fea
Time: 2017-05-11
Author: mihai@mihaic.ro
File Name: brainiak/funcalign/srm.py
Class Name: DetSRM
Method Name: _srm
Project Name: brainiak/brainiak
Commit Name: ea0fa4da749d5a63695b52392377aa8534598fea
Time: 2017-05-11
Author: mihai@mihaic.ro
File Name: brainiak/funcalign/sssrm.py
Class Name: SSSRM
Method Name: _sssrm
Project Name: brainiak/brainiak
Commit Name: ea0fa4da749d5a63695b52392377aa8534598fea
Time: 2017-05-11
Author: mihai@mihaic.ro
File Name: brainiak/funcalign/srm.py
Class Name: SRM
Method Name: _srm