899a7b0f099dbe1f0967528477652f3764061178,pygsp/graphs.py,Sensor,__init__,#Sensor#Any#Any#Any#Any#Any#Any#Any#Any#,798
Before Change
W = sparse.lil_matrix(W)
self.W = (W + W.conjugate().transpose())/2
self.coords = np.array([XCoords, YCoords])
self.plotting = {"limits", np.array([0, 1, 0, 1])}
super(Sensor, self).__init__(W=self.W, N=self.N, gtype=self.gtype, coords=self.coords, plotting=self.plotting, directed=self.directed, **kwargs)
After Change
W = sparse.lil_matrix(W)
self.W = (W + W.getH())/2
self.coords = np.concatenate((XCoords, YCoords), axis=1)
self.plotting = {"limits": np.array([0, 1, 0, 1])}
super(Sensor, self).__init__(W=self.W, N=self.N, gtype=self.gtype, coords=self.coords, plotting=self.plotting, directed=self.directed, **kwargs)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: epfl-lts2/pygsp
Commit Name: 899a7b0f099dbe1f0967528477652f3764061178
Time: 2015-01-16
Author: basile.chatillon@epfl.ch
File Name: pygsp/graphs.py
Class Name: Sensor
Method Name: __init__
Project Name: SPFlow/SPFlow
Commit Name: b6708055bae21905af8a6e8394fbc1c01400ab8d
Time: 2018-07-24
Author: xiaoting.shao@tu-dortmund.de
File Name: src/spn/structure/leaves/conditional/MLE.py
Class Name:
Method Name:
Project Name: epfl-lts2/pygsp
Commit Name: ae761ac6611896e5b5d4ec63970bed24fe504d18
Time: 2015-01-12
Author: basile.chatillon@epfl.ch
File Name: pygsp/graphs.py
Class Name: Airfoil
Method Name: __init__