Skip to content

Instantly share code, notes, and snippets.

Credit Card Fraud Detection

This interactive Neo4j graph tutorial covers a common credit card fraud detection scenario.


We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
code;food;rank
0000001071894;http://fr.openfoodfacts.org/ingredient/wheat;1
0000005200016;http://fr.openfoodfacts.org/ingredient/lentilles-vertes;1
0000010090206;http://fr.openfoodfacts.org/ingredient/the-noir-de-chine;1
0000010090206;http://fr.openfoodfacts.org/ingredient/zestes-d-oranges;2
0000010090206;http://fr.openfoodfacts.org/ingredient/aromes-naturels;3
0000010090206;http://fr.openfoodfacts.org/ingredient/;4
0000010090206;http://fr.openfoodfacts.org/ingredient/cannelle;
0000010090206;http://fr.openfoodfacts.org/ingredient/orange;
0000010090206;http://fr.openfoodfacts.org/ingredient/poudre-de-cannelle;
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Ingredient
http://fr.openfoodfacts.org/ingredient/wheat;
http://fr.openfoodfacts.org/ingredient/lentilles-vertes;
http://fr.openfoodfacts.org/ingredient/the-noir-de-chine;
http://fr.openfoodfacts.org/ingredient/zestes-d-oranges;
http://fr.openfoodfacts.org/ingredient/aromes-naturels;
http://fr.openfoodfacts.org/ingredient/;
http://fr.openfoodfacts.org/ingredient/cannelle;
http://fr.openfoodfacts.org/ingredient/orange;
http://fr.openfoodfacts.org/ingredient/poudre-de-cannelle;
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 1 column, instead of 9. in line 8.
code;name;IngredientListAsText;sodiumPer100g;fatPer100g;proteinsPer100g;nutritionScoreFrPer100g;energyPer100g;fiberPer100g;saturatedFatPer100g;sugarsPer100g;saltPer100g;nutritionScoreUkPer100g;carbohydratesPer100g
0000000024600;Filet de bœuf;;;;;;;;;;;;
0000000036252;Lion Peanut x2;;;;;;;;;;;;
0000000039259;Twix x2;;;;;;;;;;;;
0000000039529;Pack de 2 Twix;;;;;;;;;;;;
0000001071894;Flute;Wheat;;;;;;;;;;;
0000005200016;lentilles vertes ;lentilles vertes;;;;;;;;;;;
0000007020254;;;;;;;;;;;;;
0000010090206;Thé de Noël aromatisé orange-cannelle;Thé noir de Chine, zestes d'oranges 7,5 %, arômes naturels (cannelle 4,7 %, orange 4,7 %, poudre de cannelle 3,9 %).;;;;;;;;;;;
0000020364373;Zumo de Piña;;;;;;;;;;;;
= Open Food Facts
:neo4j-version: 2.3.2
:author: Nicolas Rouyer
:toc: right
:twitter: @rrrouyer
:description: Open Food Facts
:tags: domain:open data, use-case:open food facts
This interactive Neo4j graph tutorial shows how to handle open food facts data... for the best of your health !
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
code;food;rank
0000001071894;http://fr.openfoodfacts.org/ingredient/wheat;1
0000005200016;http://fr.openfoodfacts.org/ingredient/lentilles-vertes;1
0000010090206;http://fr.openfoodfacts.org/ingredient/the-noir-de-chine;1
0000010090206;http://fr.openfoodfacts.org/ingredient/zestes-d-oranges;2
0000010090206;http://fr.openfoodfacts.org/ingredient/aromes-naturels;3
0000010090206;http://fr.openfoodfacts.org/ingredient/;4
0000010090206;http://fr.openfoodfacts.org/ingredient/cannelle;
0000010090206;http://fr.openfoodfacts.org/ingredient/orange;
0000010090206;http://fr.openfoodfacts.org/ingredient/poudre-de-cannelle;
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Ingredient;
http://fr.openfoodfacts.org/ingredient/wheat;
http://fr.openfoodfacts.org/ingredient/lentilles-vertes;
http://fr.openfoodfacts.org/ingredient/the-noir-de-chine;
http://fr.openfoodfacts.org/ingredient/zestes-d-oranges;
http://fr.openfoodfacts.org/ingredient/aromes-naturels;
http://fr.openfoodfacts.org/ingredient/;
http://fr.openfoodfacts.org/ingredient/cannelle;
http://fr.openfoodfacts.org/ingredient/orange;
http://fr.openfoodfacts.org/ingredient/poudre-de-cannelle;
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 1 column, instead of 9. in line 8.
code;name;IngredientListAsText;sodiumPer100g;fatPer100g;proteinsPer100g;nutritionScoreFrPer100g;energyPer100g;fiberPer100g;saturatedFatPer100g;sugarsPer100g;saltPer100g;nutritionScoreUkPer100g;carbohydratesPer100g
0000000024600;Filet de bœuf;;;;;;;;;;;;
0000000036252;Lion Peanut x2;;;;;;;;;;;;
0000000039259;Twix x2;;;;;;;;;;;;
0000000039529;Pack de 2 Twix;;;;;;;;;;;;
0000001071894;Flute;Wheat;;;;;;;;;;;
0000005200016;lentilles vertes ;lentilles vertes;;;;;;;;;;;
0000007020254;;;;;;;;;;;;;
0000010090206;Thé de Noël aromatisé orange-cannelle;Thé noir de Chine, zestes d'oranges 7,5 %, arômes naturels (cannelle 4,7 %, orange 4,7 %, poudre de cannelle 3,9 %).;;;;;;;;;;;
0000020364373;Zumo de Piña;;;;;;;;;;;;
@nrouyer
nrouyer / solving_issues.txt
Last active January 5, 2016 14:15
Graphgist - How to solve an issue in software design
= UML - Solving issues in software design
:neo4j-version: 2.3.0
:author: Nicolas Rouyer
:toc: right
:twitter: @rrrouyer
:description: Graph database in software design, UML, activity diagram
:tags: domain:software, use-case:solving-issues
This interactive Neo4j graph tutorial deals with solving issues in software design, starting from an UML activity diagram.