-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
🔮☕ Custom Prediction Filtering #1090
Conversation
@@ -203,7 +203,7 @@ def predict_hrt_uncertain( | |||
Example Usage:: | |||
|
|||
from pykeen.pipeline import pipeline | |||
from pykeen.models.predict import predict_hrt_uncertain | |||
from pykeen.models.uncertainty import predict_hrt_uncertain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this module now rely on pykeen.predict
? sort of complicated, maybe this module should also be in a predict subpackage?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am unsure about this 😅
The uncertainty module only wraps the model's predict_{h,r,t}
, but does not offer the flexibility of the general predict module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay then leave it for now
I'm still hesitant about throwing away the nice high-level functions but I don't want to get in the way since you're on a roll |
This PR refactors the prediction filtering (again) to better support custom filtering.
Dependencies