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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃 鉁堬笍 Make mock model importable #691

Merged
merged 24 commits into from
Dec 21, 2021
Merged

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Dec 16, 2021

This PR moves the mock model from the tests into the main package. This model is useful for baseline comparison

@cthoyt
Copy link
Member Author

cthoyt commented Dec 16, 2021

@PyKEEN-bot test

src/pykeen/models/mocks.py Outdated Show resolved Hide resolved
src/pykeen/models/mocks.py Outdated Show resolved Hide resolved
src/pykeen/models/mocks.py Outdated Show resolved Hide resolved
@cthoyt
Copy link
Member Author

cthoyt commented Dec 17, 2021

The remaining issues in the tests when applied to this parameter-less model is that it doesn't have any trainable parameters. I think this might be a silly rabbit hole to spend time on, so it might be better just to not use the typical model testing framework on it.

@cthoyt cthoyt changed the title Make mock model importable 馃 鉁堬笍 Make mock model importable Dec 17, 2021
@cthoyt cthoyt marked this pull request as ready for review December 19, 2021 00:54
@cthoyt cthoyt requested a review from mberr December 20, 2021 18:09
Copy link
Member

@mberr mberr left a comment

Choose a reason for hiding this comment

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

besides the comment, lgtm

README.md Show resolved Hide resolved
@cthoyt cthoyt merged commit b487e28 into master Dec 21, 2021
@cthoyt cthoyt deleted the include-mock-model branch December 21, 2021 12:57
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

3 participants