mnick / scikit-kge

Python library to compute knowledge graph embeddings
MIT License
473 stars 142 forks source link

More elaborate examples #10

Open milost opened 5 years ago

milost commented 5 years ago

It would be nice to see a more detailed example. The README says:

N, M, xs, ys = load_data('path to data')

But how exactly do these parameters look like? Something like:

N = 12 
M = 20
xs = [(s1, o1, p1), (s2, o2, p2), ...]
ys = [1, -1, ...]

...with concrete examples would be nice