Posts

Showing posts from July 21, 2024

[Day 201] Struggling with neo4j and a fraud GNN

Image
 Hello :) Today is Day 201! A quick summary of today: started using neo4j as a graph database It is ~3.30am when I am starting to write this as I was occupied with neo4j and trying to get a GNN model to work so I will keep it brief and go to bed. Why did we switch from arangoDB to neo4j?  Neo4j has a free cloud version with up to 400,000 edges so we can use this one for our real-time inference pipeline. Whereas in arangoDB there is no *permanent* free version. There *is* a free one but it expires after 14 days, and if anything I'd like to keep the data in the cloud db just in case we need it.  Inserting data into neo4j This is the dataset we will go with for now. It has a lot of info about the credit card user, transaction, and also we can extract location info about the merchant. I set up neo4j locally and inserted some data (inserting was easy and fast). In the red square, you can see the amount of nodes, and edges. The right side is an sql-esque type of query space but we need