99483e3ca1578397e421a5ea8a5f96e937e59af9,pygsp/graphs/graph.py,Graph,estimate_lmax,#Graph#Any#,653
Before Change
try:
// For robustness purposes, increase the error by 1 percent
lmax = 1.01 * \
sparse.linalg.eigs(self.L, k=1, tol=5e-3, ncv=10)[0][0]
except sparse.linalg.ArpackNoConvergence:
self.logger.warning("Cannot use default method.")
lmax = 2. * np.max(self.d)
After Change
except sparse.linalg.ArpackNoConvergence:
self.logger.warning("Lanczos method did not converge. "
"Using an alternative method.")
if self.lap_type == "normalized":
lmax = 2 // Spectrum is bounded by [0, 2].
elif self.lap_type == "combinatorial":
lmax = 2 * np.max(self.d)
else:
raise ValueError("Unknown Laplacian type "
"{}".format(self.lap_type))
self._lmax = lmax
def get_edge_list(self):
r
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 9
Instances
Project Name: epfl-lts2/pygsp
Commit Name: 99483e3ca1578397e421a5ea8a5f96e937e59af9
Time: 2017-08-27
Author: michael.defferrard@epfl.ch
File Name: pygsp/graphs/graph.py
Class Name: Graph
Method Name: estimate_lmax
Project Name: PyMVPA/PyMVPA
Commit Name: 91e58c78bd03283e16b35ae1ed071f5784343b67
Time: 2016-01-29
Author: matteo.visconti.gr@dartmouth.edu
File Name: mvpa2/measures/rsa.py
Class Name: LassoRegression
Method Name: _call
Project Name: biolab/orange3
Commit Name: ee27c11166d39aafb9bf6196a037346c73ed2ae6
Time: 2015-02-20
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/preprocess/transformation.py
Class Name: Transformation
Method Name: __call__
Project Name: scikit-learn-contrib/DESlib
Commit Name: 250e3b3a31f3f50c691878db75af3ed24de448de
Time: 2021-04-07
Author: rafaelmenelau@gmail.com
File Name: deslib/static/oracle.py
Class Name: Oracle
Method Name: predict