Graph Algorithms: Practical Examples in Apache Spark and Neo4j


By Mark Needham & Amy E. Hodler

By O'Reilly Media

Print Length: 250 pages

Available Formats: PDF - EN US, iBooks, Kindle


Whether you are building dynamic network models or forecasting real-world behavior, this book illustrates how graph algorithms deliver value: from finding vulnerabilities and bottlenecks to detecting communities and improving machine learning predictions.

Harness the power of over 50 graph algorithms with the Neo4j Graph Data Science (GDS) Library, available here.

We walk you through hands-on examples of how to use graph algorithms in Apache Spark and Neo4j. We include sample code and tips for over 20 practical graph algorithms that cover optimal pathfinding, importance through centrality, and community detection using methods like clustering and partitioning.

Read this book to:

Download Your Free Copy of O'Reilly’s Graph Algorithms

  • Learn how graph analytics vary from conventional statistical analysis
  • Understand how classic graph algorithms work and how they are applied
  • Dive into popular algorithms like PageRank, Label Propagation and Louvain Modularity to find out how subtle parameters impact results
  • Get guidance on which algorithms to use for different types of questions
  • Explore graph algorithm examples with working code and sample datasets for both Spark and Neo4j
  • See how connected feature extraction increases machine learning accuracy and precision
  • Walk through creating an ML workflow for link prediction combining Neo4j and Spark

Fill out the form for your free copy of Graph Algorithms: Practical Examples in Apache Spark and Neo4j by Mark Needham and Amy E. Hodler.


A practical and informative guide to gaining insights on connected data by detecting patterns and structures with graph algorithms. This book is a must-read for developers working with graph databases.

Luanne Misquitta, VP of Engineering, GraphAware