Accenture / AmpliGraph

Python library for Representation Learning on Knowledge Graphs https://docs.ampligraph.org
Apache License 2.0
2.12k stars 252 forks source link

Can we pass custom trained embedding as entity and then train the model? #270

Open MathewKevin opened 1 year ago

MathewKevin commented 1 year ago

Hi, we are working on a link prediction task using ampligraph, the triple basically looks like,

protein_sequence, i.e KFLEACD (subject) ---> positive(predicate) ---> assay_1(object)

we already have a better representation of the protein sequence stored as embedding, is it possible to pass those embedding directly as an entity like,

protein_embedding(subject) ---> positive(predicate) ---> assay_1(object)

Please clarify, thanks in advance.