MCPcopy Create free account

hub / github.com/acbull/pyHGT / functions

Functions132 in github.com/acbull/pyHGT

↓ 22 callersMethodforward
(self, node_feature, node_type, edge_time, edge_index, edge_type)
OAG/pyHGT/model.py:69
↓ 11 callersFunctionrandint
()
OAG/pyHGT/utils.py:42
↓ 9 callersMethodforward
(self, node_feature, node_type, edge_time, edge_index, edge_type)
ogbn-mag/pyHGT/model.py:69
↓ 8 callersMethodadd_edge
(self, source_node, target_node, time = None, relation_type = None, directed = True)
OAG/pyHGT/data.py:54
↓ 8 callersMethodget_types
(self)
OAG/pyHGT/data.py:82
↓ 8 callersFunctionndcg_at_k
(r, k)
OAG/pyHGT/utils.py:11
↓ 6 callersFunctionmean_reciprocal_rank
(rs)
OAG/pyHGT/utils.py:18
↓ 6 callersFunctionrandint
()
ogbn-mag/pyHGT/utils.py:62
↓ 4 callersMethodget_meta_graph
(self)
OAG/pyHGT/data.py:73
↓ 4 callersMethodget_types
(self)
ogbn-mag/pyHGT/data.py:82
↓ 4 callersFunctionprepare_data
Sampled and prepare training and validation data using multi-process parallization.
ogbn-mag/eval_ogbn_mag.py:85
↓ 3 callersMethod__init__
(self, in_dim, out_dim, num_types, num_relations, n_heads, dropout = 0.2, use_norm = True, use_RTE = True, **k
OAG/pyHGT/conv.py:12
↓ 3 callersMethod__init__
(self, in_dim, out_dim, num_types, num_relations, n_heads, dropout = 0.2, use_norm = True, use_RTE = True, **k
ogbn-mag/pyHGT/conv.py:12
↓ 3 callersMethod__init__
(self, in_dim, out_dim, num_types, num_relations, n_heads, dropout = 0.2, use_norm = True, use_RTE = True, **k
pyHGT/conv.py:12
↓ 3 callersMethodadd_node
(self, node)
OAG/pyHGT/data.py:46
↓ 3 callersMethodadd_node
(self, node)
ogbn-mag/pyHGT/data.py:46
↓ 3 callersMethodadd_node
(self, node)
pyHGT/data.py:46
↓ 3 callersMethodget_meta_graph
(self)
ogbn-mag/pyHGT/data.py:73
↓ 3 callersFunctionrenamed_load
(file_obj)
OAG/pyHGT/data.py:268
↓ 3 callersFunctionsample_subgraph
Sample Sub-Graph based on the connection of other nodes with currently sampled nodes We maintain budgets for each node type, indexed
OAG/pyHGT/data.py:87
↓ 3 callersFunctionto_torch
Transform a sampled sub-graph into pytorch Tensor node_dict: {node_type: <node_number, node_type_ID>} node_number is used to trace ba
OAG/pyHGT/data.py:212
↓ 2 callersMethod__init__
(self, in_dim, n_hid, num_types, num_relations, n_heads, n_layers, dropout = 0.2, conv_name = 'hgt', prev_norm
OAG/pyHGT/model.py:55
↓ 2 callersMethod__init__
(self, in_dim, n_hid, num_types, num_relations, n_heads, n_layers, dropout = 0.2, conv_name = 'hgt', prev_norm
ogbn-mag/pyHGT/model.py:55
↓ 2 callersMethod__init__
(self, in_dim, n_hid, num_types, num_relations, n_heads, n_layers, dropout = 0.2, conv_name = 'hgt', prev_norm
pyHGT/model.py:55
↓ 2 callersFunctionadd_budget
(te, target_id, target_time, layer_data, budget)
OAG/pyHGT/data.py:112
↓ 2 callersFunctionadd_budget
(te, target_id, target_time, layer_data, budget)
ogbn-mag/pyHGT/data.py:112
↓ 2 callersFunctionadd_budget
(te, target_id, target_time, layer_data, budget)
pyHGT/data.py:112
↓ 2 callersFunctionargs_print
(args)
ogbn-mag/pyHGT/utils.py:17
↓ 2 callersFunctiondcg_at_k
(r, k)
OAG/pyHGT/utils.py:5
↓ 2 callersFunctiondcg_at_k
(r, k)
ogbn-mag/pyHGT/utils.py:25
↓ 2 callersFunctiondcg_at_k
(r, k)
pyHGT/utils.py:5
↓ 2 callersFunctionget_n_params
(model)
ogbn-mag/pyHGT/utils.py:8
↓ 2 callersMethodget_types
(self)
pyHGT/data.py:82
↓ 2 callersFunctionmask_softmax
(pred, size)
OAG/train_author_disambiguation.py:90
↓ 2 callersFunctionnode_classification_sample
sub-graph sampling and label preparation for node classification: (1) Sample batch_size number of output nodes (papers), get their ti
OAG/train_paper_field.py:89
↓ 2 callersFunctionnode_classification_sample
sub-graph sampling and label preparation for node classification: (1) Sample batch_size number of output nodes (papers) and their tim
OAG/train_paper_venue.py:88
↓ 2 callersFunctionnormalize
Row-normalize sparse matrix
OAG/pyHGT/utils.py:23
↓ 2 callersFunctionnormalize
Row-normalize sparse matrix
ogbn-mag/pyHGT/utils.py:43
↓ 2 callersFunctionprepare_data
Sampled and prepare training and validation data using multi-process parallization.
OAG/train_author_disambiguation.py:172
↓ 2 callersFunctionprepare_data
Sampled and prepare training and validation data using multi-process parallization.
OAG/train_paper_field.py:141
↓ 2 callersFunctionprepare_data
Sampled and prepare training and validation data using multi-process parallization.
OAG/train_paper_venue.py:138
↓ 2 callersFunctionprepare_data
Sampled and prepare training and validation data using multi-process parallization.
ogbn-mag/train_ogbn_mag.py:82
↓ 2 callersFunctionsample_subgraph
Sample Sub-Graph based on the connection of other nodes with currently sampled nodes We maintain budgets for each node type, indexed
ogbn-mag/pyHGT/data.py:87
↓ 2 callersFunctionto_torch
Transform a sampled sub-graph into pytorch Tensor node_dict: {node_type: <node_number, node_type_ID>} node_number is used to trace ba
ogbn-mag/pyHGT/data.py:214
↓ 1 callersFunctionauthor_disambiguation_sample
sub-graph sampling and label preparation for author disambiguation: (1) Sample batch_size // 4 number of names
OAG/train_author_disambiguation.py:101
↓ 1 callersMethodget_meta_graph
(self)
pyHGT/data.py:73
Method__init__
(self)
OAG/pyHGT/data.py:20
Method__init__
(self, in_dim, out_dim, num_types, num_relations, n_heads, dropout = 0.2, use_norm = True, use_RTE = True, **k
OAG/pyHGT/conv.py:144
Method__init__
(self, n_hid, max_len = 240, dropout = 0.2)
OAG/pyHGT/conv.py:287
Method__init__
(self, conv_name, in_hid, out_hid, num_types, num_relations, n_heads, dropout, use_norm = True, use_RTE = True
OAG/pyHGT/conv.py:304
Method__init__
(self, n_hid, n_out)
OAG/pyHGT/model.py:4
Method__init__
(self, n_hid)
OAG/pyHGT/model.py:21
Method__init__
(self)
ogbn-mag/pyHGT/data.py:20
Method__init__
(self, in_dim, out_dim, num_types, num_relations, n_heads, dropout = 0.2, use_norm = True, use_RTE = True, **k
ogbn-mag/pyHGT/conv.py:144
Method__init__
(self, n_hid, max_len = 240, dropout = 0.2)
ogbn-mag/pyHGT/conv.py:287
Method__init__
(self, conv_name, in_hid, out_hid, num_types, num_relations, n_heads, dropout, use_norm = True, use_RTE = True
ogbn-mag/pyHGT/conv.py:304
Method__init__
(self, n_hid, n_out)
ogbn-mag/pyHGT/model.py:4
Method__init__
(self, n_hid)
ogbn-mag/pyHGT/model.py:21
Method__init__
(self)
pyHGT/data.py:20
Method__init__
(self, in_dim, out_dim, num_types, num_relations, n_heads, dropout = 0.2, use_norm = True, use_RTE = True, **k
pyHGT/conv.py:144
Method__init__
(self, n_hid, max_len = 240, dropout = 0.2)
pyHGT/conv.py:287
Method__init__
(self, conv_name, in_hid, out_hid, num_types, num_relations, n_heads, dropout, use_norm = True, use_RTE = True
pyHGT/conv.py:304
Method__init__
(self, n_hid, n_out)
pyHGT/model.py:4
Method__init__
(self, n_hid)
pyHGT/model.py:21
Method__repr__
(self)
OAG/pyHGT/conv.py:136
Method__repr__
(self)
OAG/pyHGT/conv.py:277
Method__repr__
(self)
OAG/pyHGT/model.py:12
Method__repr__
(self)
OAG/pyHGT/model.py:47
Method__repr__
(self)
ogbn-mag/pyHGT/conv.py:136
Method__repr__
(self)
ogbn-mag/pyHGT/conv.py:277
Method__repr__
(self)
ogbn-mag/pyHGT/model.py:12
Method__repr__
(self)
ogbn-mag/pyHGT/model.py:47
Method__repr__
(self)
pyHGT/conv.py:136
Method__repr__
(self)
pyHGT/conv.py:277
Method__repr__
(self)
pyHGT/model.py:12
Method__repr__
(self)
pyHGT/model.py:47
Methodadd_edge
(self, source_node, target_node, time = None, relation_type = None, directed = True)
ogbn-mag/pyHGT/data.py:54
Methodadd_edge
(self, source_node, target_node, time = None, relation_type = None, directed = True)
pyHGT/data.py:54
Functionfeature_MAG
(layer_data, graph)
ogbn-mag/pyHGT/utils.py:93
Functionfeature_OAG
(layer_data, graph)
OAG/pyHGT/utils.py:47
Functionfeature_OAG
(layer_data, graph)
ogbn-mag/pyHGT/utils.py:67
Functionfeature_OAG
(layer_data, graph)
pyHGT/utils.py:47
Methodfind_class
(self, module, name)
OAG/pyHGT/data.py:261
Methodfind_class
(self, module, name)
pyHGT/data.py:261
Methodforward
(self, node_inp, node_type, edge_index, edge_type, edge_time)
OAG/pyHGT/conv.py:56
Methodforward
(self, node_inp, node_type, edge_index, edge_type, edge_time)
OAG/pyHGT/conv.py:193
Methodforward
(self, x, t)
OAG/pyHGT/conv.py:298
Methodforward
(self, meta_xs, node_type, edge_index, edge_type, edge_time)
OAG/pyHGT/conv.py:315
Methodforward
(self, x)
OAG/pyHGT/model.py:9
Methodforward
(self, x, y, infer = False, pair = False)
OAG/pyHGT/model.py:27
Methodforward
(self, node_inp, node_type, edge_index, edge_type, edge_time)
ogbn-mag/pyHGT/conv.py:56
Methodforward
(self, node_inp, node_type, edge_index, edge_type, edge_time)
ogbn-mag/pyHGT/conv.py:193
Methodforward
(self, x, t)
ogbn-mag/pyHGT/conv.py:298
Methodforward
(self, meta_xs, node_type, edge_index, edge_type, edge_time)
ogbn-mag/pyHGT/conv.py:315
Methodforward
(self, x)
ogbn-mag/pyHGT/model.py:9
Methodforward
(self, x, y, infer = False, pair = False)
ogbn-mag/pyHGT/model.py:27
Methodforward
(self, node_inp, node_type, edge_index, edge_type, edge_time)
pyHGT/conv.py:56
Methodforward
(self, node_inp, node_type, edge_index, edge_type, edge_time)
pyHGT/conv.py:193
Methodforward
(self, x, t)
pyHGT/conv.py:298
Methodforward
(self, meta_xs, node_type, edge_index, edge_type, edge_time)
pyHGT/conv.py:315
next →1–100 of 132, ranked by callers