97d75f47274b8d7e0e5b235346149da0bae9fc79,plot_adhd_covariance2.py,,,#,84
Before Change
emp_covs, n_samples = zip(*data)
// Normalize covariance matrices
for cov, n in zip(emp_covs, n_samples):
cov /= n
np.testing.assert_almost_equal(np.diag(cov), np.ones(cov.shape[0]))
print("-- Computing covariance matrices ...")
from nilearn.honorio_samaras import honorio_samaras
est_precs, all_crit = honorio_samaras(emp_covs, rho, n_samples,
normalize_n_samples=True,
After Change
data.append(mem.cache(covariance_matrix)(n))
emp_covs, n_samples = zip(*data)
print("-- Computing precision matrices ...")
from nilearn.group_sparse_covariance import group_sparse_covariance
est_precs, all_crit = group_sparse_covariance(emp_covs, rho, n_samples,
normalize_n_samples=True,
n_iter=5,
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances
Project Name: nilearn/nilearn
Commit Name: 97d75f47274b8d7e0e5b235346149da0bae9fc79
Time: 2013-08-26
Author: philippe.gervais@inria.fr
File Name: plot_adhd_covariance2.py
Class Name:
Method Name:
Project Name: PIQuIL/QuCumber
Commit Name: f91dcf86dac8282e3b0144f65d44821fbbb248f2
Time: 2018-07-27
Author: gtorlai@uwaterloo.ca
File Name: qucumber/quantum_reconstruction.py
Class Name: QuantumReconstruction
Method Name: fit
Project Name: IndicoDataSolutions/finetune
Commit Name: cb89711536f566f3ed7d121520fe32ad41ca83bc
Time: 2019-01-11
Author: benlt@hotmail.co.uk
File Name: finetune/utils.py
Class Name:
Method Name: assign_associations
Project Name: AlexEMG/DeepLabCut
Commit Name: 4ae9541144d2d3b03675587e16cce820c4fc1942
Time: 2021-01-22
Author: alexander@deeplabcut.org
File Name: deeplabcut/pose_estimation_tensorflow/predict_multianimal.py
Class Name:
Method Name: GetPoseandCostsF
Project Name: OpenNMT/OpenNMT-tf
Commit Name: 06c50f050dc143126636b6c9b7d80ee3468377a6
Time: 2019-04-06
Author: guillaume.klein@systrangroup.com
File Name: examples/serving/ende_client.py
Class Name:
Method Name: main