-
Notifications
You must be signed in to change notification settings - Fork 93
Pytorch Geometric support (deprecates KGCN) #161
Conversation
…uild due to tensorflow issue. A previously used patch is no longer applicable to v0.8.0 of rules_python.
…r, split out a separate labeller specifically for the binary link prediction case.
…or binary link prediction
…es (as in the diagnosis example)
…still throws an error
… came from the conversion of a homogeneous graph network into a heterogeneous one. Seemed impossible to debug the call graph creation in pytorch. Now the model runs, but the current issue is getting the model to see the negative samples too. Perhaps a different approach is required (NxN adjacency for the edge concerned).
…roach is easily applicable to predicting all edges in an adjacency matric, as per the link_prediction example.
…tures are given as tensors manually for each node. When given as numpy arrays this way of adding features works fine.
…layer, and now the learner learns with 100% accuracy on train and validation and 91% on test!
…ed for later use as well as the entry from edge_label_index_dict
…se having an import conflict with the client package also called `typedb`.
bd30ab3
to
8ee8997
Compare
… removed query sampling capabilities which were poorly documented and never used.
…lines (it ignores patterns beginning `--`)
Approved for the build only. The API contains many changes and most of them are fundamental. They will be reviewed later in a longer discussion (most probably in person) with James and Joshua. |
@@ -0,0 +1,66 @@ | |||
# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the difference between requirements.txt
and install_requires.txt
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We discussed this in-person: install_requires.txt
is used to fill the field of the same name for PyPi. We need this because the assemble-pip
target doesn't support the flags that we need in the requirements.txt
file. This is an issue and should be resolved better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the goal of this PR?
Migrate the ethos of TypeDB-ML to be a library to support machine learning using existing graph learning frameworks, starting with support for PyTorch Geometric and NetworkX to support in-memory graphs and general-purpose graph algorithms.
What are the changes implemented in this PR?
Solves #44