MCPcopy Create free account

hub / github.com/SmartDataAnalytics/LiteralE / functions

Functions62 in github.com/SmartDataAnalytics/LiteralE

↓ 16 callersFunctionranking_and_hits
(model, dev_rank_batcher, vocab, name)
evaluation.py:14
↓ 13 callersMethod__init__
(self, num_entities, num_relations, numerical_literals, c, var)
model.py:190
↓ 3 callersMethodforward
(self, e1, rel)
model.py:221
↓ 3 callersFunctionload_data
(file_path, ent2idx, rel2idx)
preprocess_kg.py:19
↓ 3 callersFunctionread_triples
(path)
create_WN18RR.py:17
↓ 3 callersFunctionwrite_triples
(triples, path)
create_WN18RR.py:26
↓ 2 callersMethodforward_attr
(self, e, mode='left')
model.py:312
↓ 2 callersFunctionwrite_e1rel_graph
(cases, graph, path)
wrangle_KG.py:95
↓ 2 callersFunctionwrite_e1rel_ranking_graph
(cases, graph, path)
wrangle_KG.py:116
↓ 1 callersMethod_exec_query
(self, query)
get_literals.py:18
↓ 1 callersFunctioncheck_for_reversible_relations
(rel_to_tuple, threshold=0.80)
reverse_rule.py:73
↓ 1 callersMethodforward
(self, e1, rel)
model.py:35
↓ 1 callersMethodforward
(self, e1, rel)
model.py:298
↓ 1 callersMethodforward
(self, e1, rel)
model.py:453
↓ 1 callersMethodforward_AST
(self)
model.py:329
↓ 1 callersMethodget_triples_of
(self, entity, language=None)
get_literals.py:32
↓ 1 callersMethodinit
(self)
model.py:29
↓ 1 callersMethodinit
(self)
model.py:217
↓ 1 callersMethodinit
(self)
model.py:294
↓ 1 callersMethodinit
(self)
model.py:449
↓ 1 callersFunctionmain
()
main_literal.py:100
↓ 1 callersFunctionmain
()
main_kbln.py:101
↓ 1 callersFunctionmain
()
main.py:101
↓ 1 callersFunctionmain
()
main_multitask.py:101
↓ 1 callersFunctionpreprocess
(dataset_name, delete_data=False)
main_literal.py:62
↓ 1 callersFunctionpreprocess
(dataset_name, delete_data=False)
main_kbln.py:62
↓ 1 callersFunctionpreprocess
(dataset_name, delete_data=False)
main.py:62
↓ 1 callersFunctionpreprocess
(dataset_name, delete_data=False)
main_multitask.py:62
↓ 1 callersMethodrbf
Apply RBF kernel parameterized by (fixed) c and var, pointwise. n: (batch_size, num_ents, n_lit)
model.py:248
Method__init__
(self, address="http://drogon:8890/sparql", **kw)
get_literals.py:12
Method__init__
(self, num_entities, num_relations)
model.py:19
Method__init__
(self, num_entities, num_relations)
model.py:59
Method__init__
(self, num_entities, num_relations)
model.py:86
Method__init__
(self, num_entities, num_relations, numerical_literals)
model.py:140
Method__init__
(self, num_entities, num_relations, numerical_literals)
model.py:258
Method__init__
(self, num_entities, num_relations, numerical_literals)
model.py:348
Method__init__
(self, num_entities, num_relations, numerical_literals)
model.py:418
Method__init__
(self, input_size, output_size, # gate_activation=nn.functi
model.py:492
Method__init__
(self, num_entities, num_relations, numerical_literals)
model.py:518
Method__init__
(self, num_entities, num_relations, numerical_literals)
model.py:568
Method__init__
(self, num_entities, num_relations, numerical_literals)
model.py:631
Method__init__
(self, emb_size, num_lit_size, txt_lit_size, gate_activation=nn.functional.sigmoid)
model.py:707
Method__init__
(self, num_entities, num_relations, numerical_literals, text_literals)
model.py:733
Functionconvert_mid
(e)
wrangle_KG.py:38
Methodforward
(self, e1, rel)
model.py:70
Methodforward
(self, e1, rel)
model.py:107
Methodforward
(self, e1, rel)
model.py:163
Methodforward
(self, e1, rel)
model.py:383
Methodforward
(self, x_ent, x_lit)
model.py:507
Methodforward
(self, e1, rel)
model.py:542
Methodforward
(self, e1, rel)
model.py:596
Methodforward
(self, e1, rel)
model.py:663
Methodforward
(self, x_ent, x_lit_num, x_lit_txt)
model.py:722
Methodforward
(self, e1, rel)
model.py:762
Methodinit
(self)
model.py:66
Methodinit
(self)
model.py:103
Methodinit
(self)
model.py:159
Methodinit
(self)
model.py:377
Methodinit
(self)
model.py:538
Methodinit
(self)
model.py:590
Methodinit
(self)
model.py:659
Methodinit
(self)
model.py:758