edcd60f9853ba2fabdcc13164230ef8454773dd1,ldscore/jackknife.py,Hsq,__init__,#Hsq#Any#Any#Any#Any#Any#Any#Any#Any#Any#,314
Before Change
self.hsq_cov = np.multiply(np.dot(self.M.T,self.M), no_intercept_cov) / Nbar
self.coef = self._jknife.est[0,0:self.n_annot] / Nbar
self.coef_se = np.sqrt(np.diag(no_intercept_cov)/ Nbar)
self.cat_hsq = np.multiply(self.M, self._jknife.est[0,0:self.n_annot]) / Nbar
self.cat_hsq_se = np.multiply(self.M, self._jknife.jknife_se[0,0:self.n_annot]) / Nbar
self.tot_hsq = np.sum(self.cat_hsq)
self.tot_hsq_se = np.sqrt(np.sum(M*self._jknife.jknife_cov[0:self.n_annot,\
After Change
self.coef_se = np.sqrt(np.diag(self.coef_cov))
self.cat_hsq = np.multiply(self.M, self.coef)
self.cat_hsq_cov = np.multiply(np.dot(self.M.T,self.M), self.coef_cov)
self.cat_hsq_se = np.sqrt(np.diag(self.cat_hsq_cov))
self.tot_hsq = np.sum(self.cat_hsq)
self.tot_hsq_cov = np.sum(self.cat_hsq_cov)
self.tot_hsq_se = np.sqrt(self.tot_hsq_cov)
numer_delete_vals = np.multiply(self.M,self._jknife.delete_values[:,0:self.n_annot]) / Nbar
denom_delete_vals = np.sum(numer_delete_vals,axis=1)*np.ones(self.n_annot)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: bulik/ldsc
Commit Name: edcd60f9853ba2fabdcc13164230ef8454773dd1
Time: 2014-12-08
Author: hilaryfinucane@gmail.com
File Name: ldscore/jackknife.py
Class Name: Hsq
Method Name: __init__
Project Name: tryolabs/luminoth
Commit Name: b039cceb43f0575c863f9a36d5143bb43fe44678
Time: 2018-03-20
Author: psoto23.ps@gmail.com
File Name: luminoth/models/base/ssd_feature_extractor.py
Class Name: SSDFeatureExtractor
Method Name: _build
Project Name: bambinos/bambi
Commit Name: 3b7a3e628b0dea98f0dcaad6d91b22c7c137d04d
Time: 2017-03-24
Author: tyarkoni@gmail.com
File Name: bambi/models.py
Class Name: Model
Method Name: add
Project Name: interactiveaudiolab/nussl
Commit Name: 192f6be13abd16066d9ec986d4b821352adf804f
Time: 2016-02-26
Author: eth@nmanilow.com
File Name: nussl/spectral_utils.py
Class Name:
Method Name: e_stft_plus