Eval_Task

confidence_prediction

unKR.eval_task.confidence_prediction.conf_predict(batch, model)[source]

The goal of evaluate task is to predict the confidence of triples.

Parameters:
  • batch – The batch of the triples for validation or test.

  • model – The UKG model for training.

Returns:

Mean absolute error. MSE: Mean Square error.

Return type:

MAE