ELEmbeddings
- class mowl.models.ELEmbeddings(dataset, embed_dim=50, margin=0, reg_norm=1, learning_rate=0.001, batch_size=32768, model_filepath=None, device='cpu', neg_sampling_gcis=None)[source]
Bases:
EmbeddingELModelImplementation based on [kulmanov2019].
The idea of this paper is to embed EL by modeling ontology classes as \(n\)-dimensional balls (\(n\)-balls) and ontology object properties as transformations of those \(n\)-balls. For each of the normal forms, there is a distance function defined that will work as loss functions in the optimization framework.
Methods Summary
Methods Documentation