Conversation
…ntolearn also removed dependencies to ontolearn cause of version issues
|
Thank you! @alkidbaci could you proceed with the reviewing process? |
|
I will add some tests before we merge :) |
|
Thank you:) |
|
I think we need to make a new release for dice-embeddings as EBR uses the new KGE implementation that is only on development branch rn |
|
@Demirrr sorry to ask for your time while you are in vacation but if you can, give me a pypi api token for dicee and I'll take care of it |
|
No worries. I will add you @alkidbaci |
There was a problem hiding this comment.
Although this is already mentioned here #143, looking at the code like this makes me feel really uncomfortable. You already implement and use methods such as individuals_in_signature , classes_in_signature, etc. that one usually finds in an implementation of AbstractOntology. I'm thinking if there is really no other way of doing this in a more sensible manner. Like for example to implement the core of EBR in the class NeuralOntology, enough to implement the methods of AbstractOntology and everything else you can implement on EBR itself. You can always set the necessary attributes in NeuralOntology to later use them in EBR.
Please let me know if what I'm saying make sense to you @LckyLke.
Also for the moment I think is better that we keep all the reasoners in the owl_reasoner.py module and ontologies in owl_ontology.py because we either implement each reasoner in a separate module or we keep them all together in the same one. The latter makes it easier to import/find reasoners
Regarding your first point: |
I dont see the issue here. You can have the predict method in
What is the redundancy here exactly? In the end I think its a trade-off between how much we adhere to the standards already set in the framework and the amount of redundancies that you are referring to. What I'm trying to point out here and get this clear so we can find this appropriate "trade-off" is that taken from a user's perspective who knows that an implementer of |
Yes we can do that. → I can update the implementation |
|
Great, if there is something I can do to help, please let me know |
added embedding based reasoner with inference support on gpu and batch size parameter (how many distinct predictions, e.g. (h,r,?) to run at once)