Skip to content

Fraud detection with the Paysim financial dataset, Neo4j Graph Data Science, and Neo4j Bloom

Notifications You must be signed in to change notification settings

neo4j-graph-examples/fraud-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fraud logo

Fraud Detection Graph Example

Description: Fraud detection with the Paysim financial dataset, Neo4j Graph Data Science, and Neo4j Bloom

Nodes 332973 Relationships 980857

model
Figure 1. Model
example
Figure 2. Example
Example Query:
MATCH (m:Merchant{name:$name})<-[:TO]-(:Transaction)<-[:PERFORMED]-(c:Client)
RETURN c.name as client

Setup

This is for Neo4j version: 3.5,4.0

Required plugins: gds

Load graph data via the following:

Dump file: data/fraud-detection-40.dump

  • Drop the file into the Files section of a project in Neo4j Desktop. Then choose the option to Create new DBMS from dump option from the file options.

  • Use the neo4j-admin tool to load data from the command line with the command below.

bin/neo4j-admin load --from data/fraud-detection-40.dump [--database "database"]

Code Examples

Feedback

Feel free to submit issues or pull requests for improvement on this repository.