What <<b u s i n e s s>> can learn - - PowerPoint PPT Presentation

what b u s i n e s s can learn from dating
SMART_READER_LITE
LIVE PREVIEW

What <<b u s i n e s s>> can learn - - PowerPoint PPT Presentation

What <<b u s i n e s s>> can learn from Dating Rik Van Bruggen @rvanbruggen Neo Technology Overview Company Product Neo Technology,


slide-1
SLIDE 1

What ¡<<b ¡u ¡s ¡i ¡n ¡e ¡s ¡s>> ¡
 can ¡learn ¡from ¡Dating

Rik ¡Van ¡Bruggen
 @rvanbruggen

slide-2
SLIDE 2

Neo ¡Technology ¡Overview

Product ¡

  • Neo4j ¡-­‑ ¡World’s ¡leading ¡graph ¡

database ¡

  • 1M+ ¡downloads, ¡adding ¡50k+ ¡


per ¡month ¡

  • 170+ ¡enterprise ¡subscription ¡

customers ¡including ¡over ¡
 50 ¡of ¡the ¡Global ¡2000 Company ¡

  • Neo ¡Technology, ¡Creator ¡of ¡Neo4j ¡
  • 90 ¡employees ¡with ¡HQ ¡in ¡Silicon ¡

Valley, ¡London, ¡Munich, ¡Paris ¡and ¡ Malmö ¡

  • $45M ¡in ¡funding ¡from ¡Fidelity, ¡

Sunstone, ¡Conor, ¡Creandum, ¡ Dawn ¡Capital

slide-3
SLIDE 3

How ¡Customers ¡Use ¡Neo4j

Network & Data Center Master Data
 Management Social Recom– mendations Identity & Access Search &
 Discovery GEO

slide-4
SLIDE 4

“Forrester ¡estimates ¡that ¡over ¡25% ¡of ¡enterprises ¡will ¡be ¡using ¡ graph ¡databases ¡by ¡2017”

Neo4j ¡Leads ¡the ¡Graph ¡Database ¡Revolution

“Neo4j ¡is ¡the ¡current ¡market ¡leader ¡in ¡graph ¡databases.” “Graph ¡analysis ¡is ¡possibly ¡the ¡single ¡most ¡effective ¡competitive ¡ differentiator ¡for ¡organizations ¡pursuing ¡data-­‑driven ¡operations ¡ and ¡decisions ¡after ¡the ¡design ¡of ¡data ¡capture.”

IT ¡Market ¡Clock ¡for ¡Database ¡Management ¡Systems, ¡2014
 https://www.gartner.com/doc/2852717/it-­‑market-­‑clock-­‑database-­‑management ¡ TechRadar™: ¡Enterprise ¡DBMS, ¡Q1 ¡2014
 http://www.forrester.com/TechRadar+Enterprise+DBMS+Q1+2014/fulltext/-­‑/E-­‑RES106801 ¡ Graph ¡Databases ¡– ¡and ¡Their ¡Potential ¡to ¡Transform ¡How ¡We ¡Capture ¡Interdependencies ¡(Enterprise ¡Management ¡Associates)
 http://blogs.enterprisemanagement.com/dennisdrogseth/2013/11/06/graph-­‑databasesand-­‑potential-­‑transform-­‑capture-­‑interdependencies/

slide-5
SLIDE 5

High ¡Business ¡Value ¡in ¡Data ¡Relationships

Data ¡is ¡increasing ¡in ¡volume… ¡

  • New ¡digital ¡processes ¡
  • More ¡online ¡transactions ¡
  • New ¡social ¡networks ¡
  • More ¡devices

Using ¡Data ¡Relationships ¡unlocks ¡value ¡ ¡

  • Real-­‑time ¡recommendations ¡
  • Fraud ¡detection ¡
  • Master ¡data ¡management ¡
  • Network ¡and ¡IT ¡operations ¡
  • Identity ¡and ¡access ¡management ¡
  • Graph-­‑based ¡search

… ¡and ¡is ¡getting ¡more ¡connected ¡ Customers, ¡products, ¡processes, ¡devices ¡interact ¡and ¡ relate ¡to ¡each ¡other ¡

We need to put these use cases in or and use the same or

slide-6
SLIDE 6

Relational ¡DBs ¡Can’t ¡Handle ¡Relationships ¡Well

  • Cannot ¡model ¡or ¡store ¡data ¡and ¡relationships ¡

without ¡complexity ¡

  • Performance ¡degrades ¡with ¡number ¡and ¡levels ¡
  • f ¡relationships, ¡and ¡database ¡size ¡
  • Query ¡complexity ¡grows ¡with ¡need ¡for ¡JOINs ¡
  • Adding ¡new ¡types ¡of ¡ ¡data ¡and ¡relationships ¡

requires ¡schema ¡redesign, ¡increasing ¡time ¡to ¡ market ¡ … ¡making ¡traditional ¡databases ¡inappropriate ¡ when ¡data ¡relationships ¡are ¡valuable ¡in ¡real-­‑time

Slow ¡development
 Poor ¡performance
 Low ¡scalability
 Hard ¡to ¡maintain

slide-7
SLIDE 7

Aggregate ¡Stores ¡Don’t ¡Handle ¡Relationships

  • No ¡data ¡structures ¡to ¡model ¡or ¡store ¡

relationships ¡

  • No ¡query ¡constructs ¡to ¡support ¡data ¡

relationships ¡

  • Relating ¡data ¡requires ¡“JOIN ¡logic” ¡


in ¡the ¡application ¡

  • No ¡ACID ¡support ¡for ¡transactions


… ¡making ¡NoSQL ¡databases ¡inappropriate ¡when ¡ data ¡relationships ¡are ¡valuable ¡in ¡real-­‑time

slide-8
SLIDE 8

Neo4j ¡– ¡Re-­‑Imagine ¡Your ¡Data ¡as ¡a ¡Graph

Neo4j ¡is ¡an ¡enterprise-­‑grade ¡graph ¡ database ¡that ¡enables ¡you ¡to: ¡

  • Model ¡and ¡store ¡your ¡data ¡as ¡a ¡

graph ¡

  • Query ¡data ¡relationships ¡with ¡

ease ¡and ¡in ¡real-­‑time ¡

  • Seamlessly ¡evolve ¡applications ¡

to ¡support ¡new ¡requirements ¡by ¡
 adding ¡new ¡kinds ¡of ¡data ¡and ¡ relationships

Agile ¡development
 High ¡performance
 Vertical ¡and ¡horizontal ¡scale
 Seamless ¡evolution

slide-9
SLIDE 9

The ¡Whiteboard ¡Model ¡Is ¡the ¡Physical ¡Model

slide-10
SLIDE 10

Key ¡Neo4j ¡Product ¡Features

Native ¡Graph ¡Storage
 Ensures ¡data ¡consistency ¡and ¡ performance ¡ Native ¡Graph ¡Processing
 Millions ¡of ¡hops ¡per ¡second, ¡in ¡real ¡time ¡ “Whiteboard ¡Friendly” ¡Data ¡Modeling
 Model ¡data ¡as ¡it ¡naturally ¡occurs ¡ High ¡Data ¡Integrity
 Fully ¡ACID ¡transactions Powerful, ¡Expressive ¡Query ¡Language
 Requires ¡10x ¡to ¡100x ¡less ¡code ¡than ¡SQL ¡ Scalability ¡and ¡High ¡Availability
 Vertical ¡and ¡horizontal ¡scaling ¡optimized ¡ for ¡graphs ¡ Built-­‑in ¡ETL
 Seamless ¡import ¡from ¡other ¡databases ¡ Integration
 Drivers ¡and ¡APIs ¡for ¡popular ¡languages

MATCH
 (A)

slide-11
SLIDE 11

So… ¡
 What ¡CAN ¡Business ¡learn ¡from ¡dating?

slide-12
SLIDE 12
slide-13
SLIDE 13

The ¡5 ¡graphs ¡of ¡love

  • The ¡friends ¡of ¡friends ¡graph ¡
  • The ¡passion ¡graph ¡
  • The ¡location ¡graph ¡
  • The ¡safety ¡graph ¡
  • The ¡poser ¡graph
slide-14
SLIDE 14

Meet ¡Jeremy

Jeremy

slide-15
SLIDE 15
  • Kerstin: ¡his ¡sister ¡
  • Peter: ¡his ¡friend ¡
  • Andreas: ¡his ¡colleague

Jeremy ¡has ¡some ¡friends

Kerstin Andreas Jeremy

Peter

slide-16
SLIDE 16
  • Michael: ¡master ¡hacker, ¡divorce, ¡2 ¡children ¡
  • Johan: ¡technology ¡sage, ¡likes ¡fast ¡cards ¡
  • Madelene: ¡polyglot ¡journalist, ¡loves ¡dogs ¡
  • Allison: ¡marketing ¡maven, ¡likes ¡long ¡walks ¡on ¡the ¡beach

His ¡friends ¡introduced ¡some ¡more ¡friends

Johan Kerstin Allison Andreas Michael Madelene Jeremy

Peter

slide-17
SLIDE 17

So ¡we ¡have ¡a ¡bunch ¡of ¡people

Johan Kerstin Allison Andreas Michael Madelene Jeremy

Peter

slide-18
SLIDE 18

So ¡we ¡have ¡a ¡bunch ¡of ¡people

  • How ¡do ¡we ¡know ¡they’re ¡friends? ¡
  • Either ¡ask ¡each ¡pair: ¡are ¡you ¡friends? ¡
  • Or ¡we ¡can ¡add ¡explicit ¡connections ¡
  • Twitter, ¡Facebook, ¡LinkedIn, ¡Snapchat ¡etc
slide-19
SLIDE 19

So ¡we ¡have ¡a ¡bunch ¡of ¡people

  • It’s ¡just ¡a ¡graph!

Johan Kerstin Allison Anna Adam Andreas Michael Madelene Jeremy

Peter

slide-20
SLIDE 20

Neo4j: ¡The ¡world’s ¡leading ¡graph ¡database

  • optimised ¡for ¡the ¡connections ¡between ¡records ¡
  • ‘pre ¡computed ¡indexes’ ¡between ¡records ¡
  • really, ¡really ¡fast ¡at ¡querying ¡across ¡records ¡
  • A ¡relational ¡database ¡may ¡tell ¡you ¡the ¡average ¡age ¡of ¡everyone ¡here…


…but ¡a ¡graph ¡database ¡will ¡tell ¡you ¡who’s ¡most ¡likely ¡to ¡buy ¡you ¡ a ¡beer ¡later

slide-21
SLIDE 21

Friends ¡of ¡friends ¡graph

  • According ¡to ¡SNAP ¡Interactive ¡if ¡you ¡are ¡a ¡female ¡user, ¡you ¡have ¡a: ¡
  • 4% ¡likelihood ¡of ¡interacting ¡with ¡a ¡stranger ¡
  • 10% ¡likelihood ¡of ¡interacting ¡with ¡a ¡friend ¡of ¡friend ¡
  • 7% ¡likelihood ¡of ¡interacting ¡with ¡a ¡3rd ¡degree ¡connection ¡(friend ¡of ¡a ¡

friend) ¡

  • Connections ¡mean ¡a ¡much ¡larger ¡number ¡of ¡interactions ¡= ¡#win
slide-22
SLIDE 22

Friends

Peter

Jennifer Andreas Jeremy

slide-23
SLIDE 23

Peter

Andreas Jeremy Madelene Frank Amanda Jeremy

Friends ¡of ¡friends

slide-24
SLIDE 24

Friends ¡of ¡friends ¡of ¡friends

slide-25
SLIDE 25

Find ¡Jeremy’s ¡FoFs

slide-26
SLIDE 26

Who ¡does ¡Jeremy ¡shares ¡the ¡most ¡friends ¡with?

slide-27
SLIDE 27

Complicated ¡relationships

Jake Peter Jennifer Andreas

:WORKS_FOR :FRIENDS :FRIENDS

slide-28
SLIDE 28

Complicated ¡relationships

Jake Peter Jennifer Andreas

:WORKS_FOR :FRIENDS :FRIENDS :WANTS_TO_DATE

slide-29
SLIDE 29

Complicated ¡relationships

Jake Peter Jennifer Andreas

:WORKS_FOR :FRIENDS :FRIENDS :WANTS_TO_DATE

Awkward!!

slide-30
SLIDE 30

Complicated ¡relationships

Jake Peter Jennifer Andreas

:WORKS_FOR :FRIENDS :FRIENDS :WANTS_TO_DATE Awkward!! :WANTS_TO_DATE

slide-31
SLIDE 31

Awkward!!

Complicated ¡relationships

Jake Peter Jennifer Andreas

:WORKS_FOR :FRIENDS :FRIENDS :WANTS_TO_DATE :WANTS_TO_DATE It’s complicated!

slide-32
SLIDE 32

Awkward!!

Complicated ¡relationships

Jake Peter Jennifer Andreas

:WORKS_FOR :FRIENDS :FRIENDS :WANTS_TO_DATE :WANTS_TO_DATE It’s complicated! :WANTS_TO_DATE :WANTS_TO_DATE

slide-33
SLIDE 33

Friends ¡of ¡friends ¡of ¡friends

slide-34
SLIDE 34

Friends ¡of ¡friends ¡of ¡friends

slide-35
SLIDE 35

Meet ¡Jon…

  • from: ¡UK ¡
  • seeking: ¡females ¡
  • appearance: ¡hot, ¡hot, ¡hot! ¡
  • personality: ¡fun ¡loving, ¡easy ¡going ¡
  • interests: ¡cooking, ¡chemistry

Jon

slide-36
SLIDE 36

The ¡passion ¡graph

  • Jon ¡wants ¡to ¡find ¡someone ¡he ¡can ¡

share ¡his ¡passions ¡with

Jon

slide-37
SLIDE 37

Match ¡specific ¡interests

Jon

:REPORTED_INTEREST

slide-38
SLIDE 38

Match ¡specific ¡interests

Jon

:REPORTED_INTEREST

slide-39
SLIDE 39

Match ¡specific ¡interests

Jon

:HAS_INTEREST

Jennifer Anne Julia

slide-40
SLIDE 40

The ¡location ¡graph

  • Jon ¡wants ¡to ¡find ¡a ¡date ¡but ¡refuses ¡

to ¡have ¡a ¡long ¡distance ¡relationship

Jon

slide-41
SLIDE 41

The ¡location ¡graph

slide-42
SLIDE 42

The ¡safety ¡graph

  • Jon ¡uses ¡social ¡networks

Jon

slide-43
SLIDE 43

Let’s ¡dig ¡into ¡his ¡Twitter

slide-44
SLIDE 44

He ¡follows ¡some ¡strange ¡people…

slide-45
SLIDE 45

…and ¡tweets ¡about ¡strange ¡things!

slide-46
SLIDE 46

Some ¡basic ¡word ¡analysis

slide-47
SLIDE 47

Let’s ¡update ¡based ¡on ¡behaviour

:DEMONSTRATED_INTEREST

Jon

slide-48
SLIDE 48

Any ¡ladies ¡ok ¡with ¡this?

slide-49
SLIDE 49

Any ¡ladies ¡ok ¡with ¡this?

Jennifer Jane Maria

slide-50
SLIDE 50

The ¡passion ¡graph

  • Jon ¡loves ¡Ajax

Jon

:HAS_INTEREST

slide-51
SLIDE 51

Sports :IS_A :IS_A :IS_A :IS_A

slide-52
SLIDE 52

Sports :HAS_TEAM :HAS_TEAM :HAS_TEAM :HAS_TEAM :IS_A :IS_A :IS_A :IS_A

slide-53
SLIDE 53

Sports

Jon

slide-54
SLIDE 54

The ¡poser ¡graph

  • Jon ¡has ¡no ¡luck ¡with ¡online ¡dating. ¡All ¡
  • f ¡his ¡interactions ¡are ¡with ¡spam ¡

profiles

slide-55
SLIDE 55

The ¡poser ¡graph

  • Let’s ¡find ¡real ¡people ¡with ¡at ¡least ¡1 ¡

social ¡network ¡and ¡a ¡minimum ¡of ¡2 ¡ posts

slide-56
SLIDE 56

Find ¡ladies ¡who ¡aren’t ¡spam ¡bots

slide-57
SLIDE 57

Find ¡ladies ¡who ¡like ¡football

slide-58
SLIDE 58

Find ¡ladies ¡who ¡like ¡football

Jennifer Katie Greta

slide-59
SLIDE 59

Find ¡Jon’s ¡perfect ¡date

slide-60
SLIDE 60

Find ¡Jon’s ¡perfect ¡date

Jennifer Jon

:PERFECT_FOR

slide-61
SLIDE 61

Jennifer

Jon

:HAS_DATE_WITH

slide-62
SLIDE 62

Jon ¡and ¡Jennifer ¡delete ¡their ¡profiles ¡and ¡sail ¡off ¡into ¡ the ¡sun ¡set

Jennifer Jon

slide-63
SLIDE 63

What’s ¡that ¡got ¡to ¡do ¡with ¡ Business?

Take ¡a ¡look ¡at ¡“Fraud”

slide-64
SLIDE 64

Why ¡Fraud?

Types ¡of ¡Fraud ¡

  • First-­‑Party ¡Fraud ¡
  • Synthetic ¡Identities ¡and ¡Fraud ¡Rings ¡
  • Insurance ¡Fraud ¡
  • Ecommerce ¡Fraud ¡

Types ¡of ¡Analysis ¡

  • Traditional ¡Analysis ¡
  • Graph-­‑Based ¡Analysis ¡

Fraud ¡Detection ¡and ¡Prevention

slide-65
SLIDE 65

First-­‑Party ¡Fraud

  • Fraudster’s ¡aim: ¡apply ¡for ¡lines ¡of ¡credit, ¡act ¡normally, ¡extend ¡credit, ¡

then…run ¡off ¡with ¡it ¡

  • Fabricate ¡a ¡network ¡of ¡synthetic ¡IDs, ¡aggregate ¡smaller ¡lines ¡of ¡credit ¡

into ¡substantial ¡value ¡

  • Often ¡a ¡hidden ¡problem ¡since ¡only ¡banks ¡are ¡hit ¡
  • Whereas ¡third-­‑party ¡fraud ¡involves ¡customers ¡whose ¡identities ¡are ¡stolen
slide-66
SLIDE 66

So ¡what?

  • $10’s ¡billions ¡lost ¡by ¡US ¡banks ¡every ¡year ¡
  • 25% ¡of ¡the ¡total ¡consumer ¡credit ¡write-­‑offs ¡in ¡the ¡USA ¡
  • Around ¡20% ¡of ¡unsecured ¡bad ¡debt ¡in ¡EU ¡and ¡USA ¡is ¡misclassified ¡
  • In ¡reality ¡it ¡is ¡first-­‑party ¡fraud

These are enormous numbers

slide-67
SLIDE 67

Fraud ¡Ring

slide-68
SLIDE 68

Then ¡the ¡fraud ¡happens…

  • Revolving ¡doors ¡strategy ¡
  • Money ¡moves ¡from ¡account ¡to ¡account ¡to ¡provide ¡legitimate ¡transaction ¡

history ¡

  • Banks ¡duly ¡increase ¡credit ¡lines ¡
  • Observed ¡responsible ¡credit ¡behaviour ¡
  • Fraudsters ¡max ¡out ¡all ¡lines ¡of ¡credit ¡and ¡then ¡bust ¡out
slide-69
SLIDE 69

… ¡and ¡the ¡bank ¡loses

  • Collections ¡process ¡ensues ¡
  • Real ¡addresses ¡are ¡visited ¡
  • Fraudsters ¡deny ¡all ¡knowledge ¡of ¡synthetic ¡IDs ¡
  • Bank ¡writes ¡off ¡debt ¡
  • Two ¡fraudsters ¡can ¡easily ¡rack ¡up ¡$80k ¡
  • Well ¡organised ¡crime ¡rings ¡can ¡rack ¡up ¡many ¡times ¡that
slide-70
SLIDE 70

Pros
 Simple
 Stops ¡rookies

Discrete ¡Data ¡Analysis ¡fails ¡to ¡predict…

Revolving
 Debt

INVESTIGATE INVESTIGATE

Number ¡of ¡accounts

Cons
 False ¡positives
 False ¡negatives

slide-71
SLIDE 71

…and ¡Makes ¡it ¡Hard ¡to ¡React

  • When ¡the ¡bust ¡out ¡starts ¡to ¡happen, ¡how ¡do ¡you ¡know ¡what ¡to ¡cancel? ¡
  • And ¡how ¡do ¡you ¡do ¡it ¡faster ¡then ¡the ¡fraudster ¡to ¡limit ¡your ¡losses? ¡
  • A ¡graph, ¡that’s ¡how!
slide-72
SLIDE 72

Probably ¡Non-­‑Fraudulent ¡Cohabiters

slide-73
SLIDE 73

Probable ¡Cohabiters ¡Query

MATCH (p1:Person)-[:HOLDS|LIVES_AT*]->()
 <-[:HOLDS|LIVES_AT*]-(p2:Person) WHERE p1 <> p2 RETURN DISTINCT p1

slide-74
SLIDE 74

Dodgy-­‑Looking ¡Chain

slide-75
SLIDE 75

Risky ¡Card ¡Numbers

MATCH (p1:Person)-[:HOLDS|LIVES_AT*]->()
 <-[:HOLDS|LIVES_AT*]-(p2:Person)


  • [:HOLDS|LIVES_AT*]->()


<-[:HOLDS|LIVES_AT*]-(p3:Person) WHERE p1 <> p2 AND p2 <> p3 AND p3 <> p1 WITH p1, p2, p3 MATCH (p1)-[:OWNS]->(c1:CreditCard),
 (p2)-[:OWNS]->(c2:CreditCard),
 (p3)-[:OWNS]->(c3:CreditCard) UNWIND [c1, c2, c3] AS creditCardNumbers RETURN creditCardNumbers

slide-76
SLIDE 76

It’ s all about the patterns

slide-77
SLIDE 77

Let ¡me ¡just ¡repeat ¡that

slide-78
SLIDE 78

It’ s all about the patterns

slide-79
SLIDE 79

Gartner’s ¡Layered ¡Fraud ¡Prevention ¡Approach ¡(4)

(4) ¡http://www.gartner.com/newsroom/id/1695014

How ¡does ¡this ¡fit ¡with ¡traditional ¡fraud ¡prevention?

Analysis ¡ ¡

  • f ¡users ¡


and ¡their ¡ endpoints Analysis ¡of
 navigation ¡ behavior ¡and ¡ suspect ¡patterns Analysis ¡of ¡ anomaly ¡ behavior ¡by ¡ channel Analysis ¡of ¡ anomaly ¡ behavior ¡ correlated ¡across ¡ channels Analysis ¡of ¡ relationships ¡ ¡ to ¡detect ¡

  • rganized ¡crime ¡

and ¡collusion Layer ¡1 Endpoint-­‑
 Centric Navigation-­‑
 Centric Account-­‑
 Centric Cross-­‑
 Channel Entity ¡
 Linking Layer ¡2 Layer ¡3 Layer ¡4 Layer ¡5 ¡ DISCRETE ¡DATA ¡ANALYSIS ¡ CONNECTED ¡ANALYSIS ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡

slide-80
SLIDE 80
slide-81
SLIDE 81
slide-82
SLIDE 82

Ask ¡for ¡help ¡if ¡you ¡get ¡stuck

  • Online ¡training ¡-­‑ ¡http://neo4j.com/graphacademy/ ¡
  • Videos ¡-­‑ ¡http://vimeo.com/neo4j/videos ¡
  • Use ¡cases ¡-­‑ ¡http://www.neotechnology.com/industries-­‑and-­‑use-­‑cases/ ¡
  • Meetups ¡every ¡week ¡in ¡Southwark ¡
  • Book ¡@ ¡http://www.graphdatabases.com ¡ ¡ ¡
slide-83
SLIDE 83

Or ¡ping ¡me?

rik@neotechnology.com ¡ @rvanbruggen ¡ +32 ¡478 ¡686800 ¡ blog.bruggen.com ¡ ¡ www.neo4j.com ¡

slide-84
SLIDE 84

Thanks ¡for ¡listening