Skip to content

Commit

Permalink
AMRI in the final test eval, docstring for a dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
migalkin committed Feb 22, 2022
1 parent ec2e14f commit 0211b76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


class InductiveLPDataset(DisjointInductivePathDataset):
"""An inductive link prediction dataset for the `KG Course Competition <https://github.com/migalkin/kgcourse2021>`_."""
"""An inductive link prediction dataset for the ILPC 2022 Challenge."""

def __init__(self, size: Size = "small", **kwargs):
"""Initialize the inductive link prediction dataset.
Expand Down
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ def main(
f"Test Arithmetic Mean Rank {results_dict['arithmetic_mean_rank']['both']['realistic']:.5f}"
)
print(
f"Test Adjusted Arithmetic Mean Rank {results_dict['adjusted_arithmetic_mean_rank']['both']['realistic']:.5f}"
f"Test Adjusted Arithmetic Mean Rank Index"
f" {results_dict['adjusted_arithmetic_mean_rank_index']['both']['realistic']:.5f}"
)

# you can also log the final results to wandb if you want
Expand Down

0 comments on commit 0211b76

Please sign in to comment.