Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pykeen/pykeen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: feldnerd/pykeen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 10 commits
  • 1 file changed
  • 2 contributors

Commits on Aug 14, 2024

  1. checkpoints

    feldnerd committed Aug 14, 2024
    Copy the full SHA
    66f16e5 View commit details
  2. checkpoints 2

    feldnerd committed Aug 14, 2024
    Copy the full SHA
    c0b51c2 View commit details
  3. understanding_evaluation

    feldnerd committed Aug 14, 2024
    Copy the full SHA
    b8a0b77 View commit details
  4. ablation

    feldnerd committed Aug 14, 2024
    Copy the full SHA
    5a34e33 View commit details
  5. performance

    feldnerd committed Aug 14, 2024
    Copy the full SHA
    e27e307 View commit details

Commits on Aug 15, 2024

  1. models

    feldnerd committed Aug 15, 2024
    Copy the full SHA
    c83f8b8 View commit details
  2. models 2

    feldnerd committed Aug 15, 2024
    Copy the full SHA
    66b694e View commit details
  3. Update checkpoints.rst

    cthoyt authored Aug 15, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0ad562d View commit details

Commits on Aug 16, 2024

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0f26891 View commit details
  2. Copy the full SHA
    7eda20a View commit details
Showing with 5 additions and 6 deletions.
  1. +5 −6 docs/source/tutorial/understanding_evaluation.rst
11 changes: 5 additions & 6 deletions docs/source/tutorial/understanding_evaluation.rst
Original file line number Diff line number Diff line change
@@ -53,15 +53,14 @@ We can see the results using the prediction workflow:

.. code-block:: python
from pykeen.models.predict import get_tail_prediction_df
from pykeen.predict import predict_target
df = get_tail_prediction_df(
df = predict_target(
model=result.model,
head_label="belgium",
relation_label="locatedin",
tail="belgium",
relation="locatedin",
triples_factory=result.training,
add_novelties=False,
)
).df
which returns a dataframe of all tail candidate entities sorted according to the predicted score.
The index in this sorted list is essentially the *rank* of the correct answer.