dicee.static_funcs_training
Functions
|
Evaluate model in a standard link prediction task |
|
|
|
Module Contents
- dicee.static_funcs_training.evaluate_lp(model, triple_idx, num_entities, er_vocab: Dict[Tuple, List], re_vocab: Dict[Tuple, List], info='Eval Starts')[source]
Evaluate model in a standard link prediction task
for each triple the rank is computed by taking the mean of the filtered missing head entity rank and the filtered missing tail entity rank :param model: :param triple_idx: :param info: :return: