cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Using a Machine Learning Workflow for Link Prediction

venkat1
Node Clone

I am trying to run this tutorial. Predictions - Using a Machine Learning Workflow for Link Prediction

In this section where I have to run this code

  • test_missing_links = graph.run("""
  • MATCH (author:Author)
  • WHERE (author)-[:CO_AUTHOR_LATE]-()
  • MATCH (author)-[:CO_AUTHOR_LATE*2..3]-(other)
  • WHERE not((author)-[:CO_AUTHOR_LATE]-(other))
  • RETURN id(author) AS node1, id(other) AS node2, 0 AS label""").to_data_frame()

I get a run time error.

The transaction has been terminated. Retry your operation in a new transaction, and you should see a successful result. The transaction has not completed within the specified timeout (dbms.transaction.timeout). You may want to retry with a longer timeout.

I get this error from the neo4j browser as well as jupyter notebook.

I tried increasing the timeout, it did not seem to help, it times out after 30 secs.

Would appreciate any help.

Warm Regards,
Venkat

3 REPLIES 3

Hi

Did you see the transaction log. Please see what exception you are getting in transaction log and then apply fix accordingly.

Thanking you
Sameer Sudhir G

Thanks, Sameer.

I am trying to look for transactions log in my sandbox, could not find it. Any suggestions where to look?

Depending on OS you are running you can search for pattern *. log and you can find one
Many thanks
Mr Sameer Sudhir G