Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐍 🛤️ Python result tracker #681

Merged
merged 16 commits into from
Dec 12, 2021
Merged

🐍 🛤️ Python result tracker #681

merged 16 commits into from
Dec 12, 2021

Conversation

mberr
Copy link
Member

@mberr mberr commented Dec 12, 2021

This PR adds a simple in-memory result tracker, which stores parameters and metrics in Python dictionaries.

@mberr mberr changed the title Python result tracker 🐍🛤️ Python result tracker Dec 12, 2021
trigger ci
@mberr mberr requested a review from cthoyt December 12, 2021 14:33
Copy link
Member

@cthoyt cthoyt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@cthoyt cthoyt changed the title 🐍🛤️ Python result tracker 🐍 🛤️ Python result tracker Dec 12, 2021
cthoyt and others added 2 commits December 12, 2021 11:04
Trigger CI

@mberr be careful on the placing of the spaces with code blocks - you can always try building the docs locally to check that they render properly
trigger ci
@@ -50,8 +50,7 @@ def end_run(self, success: bool = True) -> None:


class PythonResultTracker(ResultTracker):
"""
A tracker which stores everything in Python dictionaries.
"""A tracker which stores everything in Python dictionaries.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😮

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pykeen readme does not like empty first lines 😕

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha this is obviously my doing. We could add a string strip in there so you can continue to write docstrings this way

@cthoyt cthoyt merged commit 3c414b8 into master Dec 12, 2021
@cthoyt cthoyt deleted the python-result-tracker branch December 12, 2021 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants