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

FocusE on multiple edge types #252

Open egealpay opened 3 years ago

egealpay commented 3 years ago

If I have multiple edge types in graph, can I use numeric values on a single edge type? Or should I use numeric values on all edges?

lukostaz commented 3 years ago

You can add numeric values only to selected edges. In that case, pass np.nan values instead of a number . See this snippet from the documentation as example.