Using adjacency matrix in pandas Dataframe and apply Link prediction?

Hi everyone,

My name is Fong and I was wondering if anyone has worked with adjacency matrices and import into neo4j to apply some form of link prediction algo like graph embeddings

The above is how the data set looks like.

How do I turn this into a graph?

My ultimate goal is to find relationships between entities or words with each other from various papers

Your help is appreciated and will accept any recommendations

Hello @DMF194,
sorry for the late reply.
Importing data frames is possible via the GDS python client (see https://neo4j.com/docs/graph-data-science/current/python-client/graph-object/#_constructing_a_graph).
You mainly need so transform your adjacency matrix into a relationship data frame and a node data frame.

I dont really understand your data format though.
Are access, achieve and acquiring relationship or node properties?

1 Like