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

File train_rotate_WN18RR_adv.py

examples/train_rotate_WN18RR_adv.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 RotatE
4from openke.module.loss import SigmoidLoss

Callers

nothing calls this directly

Calls 14

TrainDataLoaderClass · 0.90
TestDataLoaderClass · 0.90
RotatEClass · 0.90
NegativeSamplingClass · 0.90
SigmoidLossClass · 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