fe913e62bb9a0f809783908d5507a6e0e3329321,scipy/optimize/_differentiable_functions.py,IdentityVectorFunction,__init__,#IdentityVectorFunction#Any#Any#,446
Before Change
self.A = np.eye(n)
self.sparse_jacobian = False
self.m = self.n = n
self.H = sps.csr_matrix((n, n))
def fun(self, x):
return x
After Change
identically zero and it is returned as a csr matrix.
def __init__(self, x0, sparse_jacobian):
n = len(x0)
if sparse_jacobian or sparse_jacobian is None:
A = sps.eye(n, format="csr")
sparse_jacobian = True
else:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: scipy/scipy
Commit Name: fe913e62bb9a0f809783908d5507a6e0e3329321
Time: 2018-03-31
Author: nikolay.mayorov@zoho.com
File Name: scipy/optimize/_differentiable_functions.py
Class Name: IdentityVectorFunction
Method Name: __init__
Project Name: deeptools/HiCExplorer
Commit Name: 7daa0de48a49cebb9c6965f077fdd88aebbbf40d
Time: 2017-12-06
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/hicChangeMatrixType.py
Class Name:
Method Name: main
Project Name: RaRe-Technologies/gensim
Commit Name: a31eab99dfbc6dcb7fe2ef149c59a30910adbbbd
Time: 2011-05-15
Author: radimrehurek@seznam.cz
File Name: src/gensim/similarities/docsim.py
Class Name: SparseMatrixSimilarity
Method Name: getSimilarities
Project Name: deeptools/HiCExplorer
Commit Name: 7daa0de48a49cebb9c6965f077fdd88aebbbf40d
Time: 2017-12-06
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/hicPCA.py
Class Name:
Method Name: main