MCPcopy
hub / github.com/thunlp/OpenKE / train_simple_WN18RR.py

File train_simple_WN18RR.py

examples/train_simple_WN18RR.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import openke
2from openke.config import Trainer, Tester
3from openke.module.model import SimplE
4from openke.module.loss import SoftplusLoss

Callers

nothing calls this directly

Calls 14

TrainDataLoaderClass · 0.90
TestDataLoaderClass · 0.90
SimplEClass · 0.90
NegativeSamplingClass · 0.90
SoftplusLossClass · 0.90
TrainerClass · 0.90
TesterClass · 0.90
runMethod · 0.80
save_checkpointMethod · 0.80
load_checkpointMethod · 0.80
run_link_predictionMethod · 0.80
get_ent_totMethod · 0.45

Tested by

no test coverage detected