99483e3ca1578397e421a5ea8a5f96e937e59af9,pygsp/graphs/graph.py,Graph,estimate_lmax,#Graph#Any#,653
Before Change
lmax = 2. * np.max(self.d)
lmax = np.real(lmax)
self._lmax = lmax.sum()
def get_edge_list(self):
r
Return an edge list, an alternative representation of the graph.
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: 3
Non-data size: 10
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: SheffieldML/GPy
Commit Name: 63751de9127ab46ab0374507338e89cd3a1be78f
Time: 2017-06-01
Author: morepabl@amazon.com
File Name: GPy/inference/latent_function_inference/expectation_propagation.py
Class Name: EP
Method Name: inference
Project Name: SheffieldML/GPy
Commit Name: 0c248e752052e18d2467d0e95f07046a666ae817
Time: 2017-03-22
Author: morepabl@amazon.com
File Name: GPy/inference/latent_function_inference/expectation_propagation.py
Class Name: EP
Method Name: inference