-
Notifications
You must be signed in to change notification settings - Fork 18
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
Improve ProbabilisticModel
base class using abstract base class
#37
Comments
I agree, @tom-andersson. Should I add this via a PR? Given that |
Thanks for the PR offer @patel-zeel, in this instance I'm happy to implement this myself and will update this issue with my progress. Great point about Note that |
I didn't get around to implementing this and won't have time for a while, so I've unassigned myself if anyone wants to pick this up. |
The
ProbabilisticModel
base class (below) defines the interface that custom model classes must implement to work indeepsensor
(such as.mean
,.stddev
). This should be updated to be an abstract base class usingcollections.abc
: https://docs.python.org/3/library/collections.abc.htmlhttps://github.com/tom-andersson/deepsensor/blob/e349aaa48f6ed673c721b13b64b9a7b422425876/deepsensor/model/model.py#L95-L108
cc @patel-zeel
The text was updated successfully, but these errors were encountered: