The document discusses using graphs and Neo4j to build intelligent solutions. It outlines Neo4j's professional services which include training, solution delivery, and packaged services. Typical technical requirements and a methodology for delivering solutions from use case to implementation are presented. Examples of graph-based solutions and how machine learning can be integrated are provided. Finally, a case study of Adobe migrating from Cassandra to Neo4j is summarized, reducing infrastructure costs significantly.
5. 5
Neo4j PS Professional Services Offer
Training &
Enablement
Solution Delivery
and Management
Packaged Services
Typically 5-25 days
Neo4j advises
Customer or SI builds
80% of engagements
Custom Scoped
50+ days
Neo4j delivers
Customer or SI supports
20% of engagements
21. Project
definition
Solution Design
Workshop
Deploy
Agile Sprints
Solution Delivery Methodology
21
Product
backlog
Backlog
Product
Increment
Main building blocks
● Project definition: clarity about objectives and organisation
● Solution design workshop: requirements and high level design
● Solution Delivery
○ Agile/SCRUM
○ Traditional / Waterfall
● (Regular) Releases /
● Solution support
Solution
Support
Waterfall
22. Main artefacts
Small Medium Large
Scoping SoW ● ● ●
Project def Project definition doc ● ●
Design Graph model ● ● ●
UI design ●
Technical Architecture ● ● ●
Backlog / Project plan ● ● ●
Sprints Sprint backlog ● ●
User Stories ●
Roll-out User guide ●
Ops guide ● ●
Support SLA ●
Support document ●
23. The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.
Architecture and design Roll-out and deploy
Project management Operations Management
IntegrationAPILogicModel
Skills & Methods
23
Database
25. Where AI and ML fit in
25
Development &
Administration
Analytics
Tooling
Graph
Analytics
Graph
Transactions
Data Integration
Discovery & VisualizationDrivers & APIs
AI
26. Differences between ML and Analytics
26
Machine learning:
• Determine domain parameters
• Historical-based discoveries
• Learn and improve without explicit
programming
27. Graph analytics:
• Uses inherent graph structures
• Uncover real-world networks
through their connections
• Forecast complex network
behavior and identify action
Differences between ML and Analytics
28. Today challenges with Machine Learning:
• Doesn’t take multiple relationship hops into account
• Takes time to iteratively train a model
• Computational inefficiency of connecting data
Benefits of Mixing Graph Analytics with ML
Graphs bring:
• Context to machine learning
• Feature filtration
• Connected feature extraction
29. • Support for many languages
(Python, .Net, Java, Go, JavaScript, R,
etc.)
• Different data integration options
• Triggers, event-driven architecture
• User-defined functions and procedures
Working with your Machine Learning algorithms and Neo4j
30. Pathfinding
& Search
Centrality /
Importance
Community
Detection
Similarity &
ML Workflow
• Parallel Breadth/Depth First Search
• Shortest Path
• Single-Source Shortest Path
• All Pairs Shortest Path
• Degree Centrality
• Closeness Centrality
• Betweenness Centrality
• PageRank/Personalized PageRank
• Triangle Count
• Clustering Coefficients
• Connected Components (Union Find)
• Strongly Connected Components
• Harmonic Closeness Centrality
• Dangalchev Closeness Centrality
• Wasserman & Faust Closeness
Centrality
• Approximate Betweenness Centrality
• A* Shortest Path
• Yen’s K Shortest Path
• K-Spanning Tree (MST)
• Minimum Spanning Tree
• Euclidean Distance
• Cosine Similarity
• Jaccard Similarity
• Label Propagation
• Louvain Modularity – 1 Step
• Louvain – Multi-Step
• Balanced Triad
Out of the box Graph Algorithms in Neo4j
• Random Walk
• One Hot Encoding
31. Knowledge graph example:
• Using topic finding ML processes
(e.g. Latent Dirichlet Allocation)
• Feeding the output into a graph database
• Search for topics, find related concepts, etc.
31
Graph and Machine Learning Examples
Recommendation engine example:
• Use ML processes such as collaborative filtering
• Enrich graph with the output
• Use graph as feedback for future iterations
34. Our Neo4j activity implementation has led to a great decrease in complexity, storage, and
infrastructure costs. Our full dataset size is now around 40 GB, down from 50 TB of data
that we had stored in Cassandra. We’re able to power our entire activity feed
infrastructure using a cluster of 3 Neo4j instances, down from 48 Cassandra instances of
pretty much equal specs. That has also led to reduced infrastructure costs. Most
importantly, it’s been a breeze for our operations staff to manage since the architecture is
simple and lean.”
David Fox, Adobe, Oct 2018
34
Customer Quote
How can Neo4j Services help you to get there?
35. Customer Use Case:
• Leading online platform to showcase and discover creative work
• More than 10 million members
• Allows creatives to share their work with millions of daily visitors
• Highlights Adobe software used in the creation process
• Drives people to the Adobe Creative Cloud
• Social platform for discovery, learning, and more
35
Adobe – Project Behance
Activity feed:
• Mongo DB (2011) - 125 nodes, dataset size of about 20tb
(terabytes)
• Cassandra (2015) - 48 nodes, dataset size of about 50tb
(terabytes)
• Neo4j (2018) - 3 nodes, dataset size of 33gb (gigabytes)
5 day
BOOTCAMP
36. 36
Conclusion
• Neo4j PS makes customer projects successful
• through enablement
• through project / solution delivery
• Graph Based Solutions are accelerators for your success
• Neo4j is a good foundation for AI and ML
• Customer are using Neo4j for their success