978ebe2b9af9c7dd246a9fee60e33eb9cc5299a4,mvpa/mappers/zscore.py,ZScoreMapper,_zscore,#ZScoreMapper#Any#Any#Any#,200
Before Change
raise RuntimeError("std should be a per-feature vector.")
else:
// check for invariant features
samples[:, std != 0] /= std[std != 0]
return samples
After Change
else:
// check for invariant features
std_nz = std != 0
samples[:, std_nz] /= N.asanyarray(std)[std_nz]
return samples
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: PyMVPA/PyMVPA
Commit Name: 978ebe2b9af9c7dd246a9fee60e33eb9cc5299a4
Time: 2010-01-27
Author: debian@onerussian.com
File Name: mvpa/mappers/zscore.py
Class Name: ZScoreMapper
Method Name: _zscore
Project Name: sebp/scikit-survival
Commit Name: 95eae9185d8df5dc4d3de030dc19c1d475f18e0f
Time: 2016-12-26
Author: sebp@k-d-w.org
File Name: survival/util.py
Class Name:
Method Name: check_y_survival
Project Name: nilearn/nilearn
Commit Name: 0984f46bf7f8e4508f5e177cb71ffc68ba178cc5
Time: 2017-11-04
Author: gael.varoquaux@normalesup.org
File Name: nilearn/image/resampling.py
Class Name:
Method Name: coord_transform