MCPcopy Create free account

hub / github.com/OneForward/UniGNN / functions

Functions45 in github.com/OneForward/UniGNN

↓ 8 callersFunctionaccuracy
(Z, Y)
prepare.py:6
↓ 8 callersFunctionget_logger
(name, flog_name, stdout=True)
logger.py:3
↓ 7 callersMethod__init__
UniGNN Args: args (NamedTuple): global args nfeat (int): dimension of features nhid (int): dimension
model/UniGNN.py:298
↓ 6 callersFunctionnormalize_l2
Row-normalize matrix
model/UniGNN.py:18
↓ 3 callersMethodbackward
(ctx, g)
model/HyperGCN.py:115
↓ 3 callersFunctionfetch_data
(args)
prepare.py:13
↓ 3 callersFunctioninitialise
initialises model, optimiser, normalises graph, and features arguments: X, Y, G: the entire dataset (with graph, features, labels)
prepare.py:31
↓ 2 callersFunctionLaplacian
approximates the E defined by the E Laplacian with/without mediators arguments: V: number of vertices E: dictionary of hyperedges (k
model/HyperGCN.py:129
↓ 2 callersFunctionglorot
(tensor)
model/UniGNN.py:13
↓ 1 callersMethod__init__
d: initial node-feature dimension h: number of hidden units c: number of classes
model/HyperGCN.py:10
↓ 1 callersFunctionadjacency
computes an sparse adjacency matrix arguments: edges: list of pairs weights: dictionary of edge weights (key: tuple representing edg
model/HyperGCN.py:215
↓ 1 callersFunctionget_split
(Y, p=0.2)
train_val.py:65
↓ 1 callersFunctionget_split
(Y, p=0.2)
train_evolving.py:66
↓ 1 callersFunctionnormalise
row-normalise sparse matrix arguments: M: scipy sparse matrix returns: D^{-1} M where D is the diagonal node-degree matri
prepare.py:123
↓ 1 callersMethodreset_parameters
(self)
model/UniGNN.py:242
↓ 1 callersMethodreset_parameters
(self)
model/HyperGCN.py:71
↓ 1 callersFunctionssm2tst
converts a scipy sparse matrix (ssm) to a torch sparse tensor (tst) arguments: M: scipy sparse matrix returns: a torch sparse t
model/HyperGCN.py:268
↓ 1 callersFunctionsymnormalise
symmetrically normalise sparse matrix arguments: M: scipy sparse matrix returns: D^{-1/2} M D^{-1/2} where D is the diagon
model/HyperGCN.py:246
↓ 1 callersFunctionupdate
updates the weight on {Se,mediator} and {Ie,mediator}
model/HyperGCN.py:190
Method__init__
(self, args, in_channels, out_channels, heads=8, dropout=0., negative_slope=0.2)
model/UniGNN.py:31
Method__init__
(self, args, in_channels, out_channels, heads=8, dropout=0., negative_slope=0.2)
model/UniGNN.py:76
Method__init__
(self, args, in_channels, out_channels, heads=8, dropout=0., negative_slope=0.2)
model/UniGNN.py:124
Method__init__
(self, args, in_channels, out_channels, heads=8, dropout=0., negative_slope=0.2)
model/UniGNN.py:172
Method__init__
(self, args, in_channels, out_channels, heads=8, dropout=0., negative_slope=0.2, skip_sum=False)
model/UniGNN.py:222
Method__init__
(self, args, in_features, out_features)
model/UniGNN.py:340
Method__init__
UniGNNII Args: args (NamedTuple): global args nfeat (int): dimension of features nhid (int): dimensi
model/UniGNN.py:375
Method__init__
(self, a, b, reapproximate=True, cuda=True)
model/HyperGCN.py:60
Method__repr__
(self)
model/UniGNN.py:43
Method__repr__
(self)
model/UniGNN.py:88
Method__repr__
(self)
model/UniGNN.py:134
Method__repr__
(self)
model/UniGNN.py:182
Method__repr__
(self)
model/UniGNN.py:237
Method__repr__
(self)
model/HyperGCN.py:95
Methodforward
(self, X, vertex, edges)
model/UniGNN.py:48
Methodforward
(self, X, vertex, edges)
model/UniGNN.py:94
Methodforward
(self, X, vertex, edges)
model/UniGNN.py:139
Methodforward
(self, X, vertex, edges)
model/UniGNN.py:187
Methodforward
(self, X, vertex, edges)
model/UniGNN.py:246
Methodforward
(self, X)
model/UniGNN.py:325
Methodforward
(self, X, vertex, edges, alpha, beta, X0)
model/UniGNN.py:346
Methodforward
(self, x)
model/UniGNN.py:406
Methodforward
an l-layer GCN
model/HyperGCN.py:41
Methodforward
(self, structure, H, m=True)
model/HyperGCN.py:78
Methodforward
(ctx, M1, M2)
model/HyperGCN.py:110
Functionparse
()
config.py:4