Module recap and what’s next

What you’ve learned

You now understand how to work with GDS algorithms at a fundamental level.

Algorithm categories

GDS provides 40+ algorithms across five categories:

  • Centrality - Identify important or influential nodes (Degree, PageRank, Betweenness)

  • Community Detection - Find natural clusters and groups (Louvain, Leiden, Label Propagation)

  • Pathfinding - Discover optimal routes through networks (Dijkstra)

  • Similarity - Find structurally similar nodes (Node Similarity, FastRP)

  • Embeddings - Create vector representations of nodes (FastRP, GraphSAGE)

Five execution modes

You learned that every algorithm supports five modes:

  • Stats - Get summary statistics without individual results

  • Stream - View results directly without storing them

  • Mutate - Store results in the projection for chaining algorithms

  • Write - Persist results back to the database

  • Estimate - Check memory requirements before running

Each mode serves a different purpose in your workflow.

Working with algorithm results

You learned to use GDS utility functions to work with algorithm outputs:

  • gds.util.asNode() - Convert GDS node IDs to database nodes for property access

  • gds.util.nodeProperty() - Access specific properties directly

  • gds.util.asNodes() - Convert multiple node IDs at once

These functions are essential when working in stream mode, allowing you to retrieve node names, properties, and other attributes from algorithm results.

Reading GDS documentation

You can now independently learn any GDS algorithm by understanding how to read the documentation:

  • Attributes - Check whether the algorithm supports directed, undirected, weighted, or heterogeneous graphs

  • Syntax - Find required parameters and modes

  • Configuration - Explore customization options

  • Examples - Adapt working code for your use cases

Algorithm configuration

You practiced customizing algorithms with both universal and algorithm-specific configurations:

  • Universal options: nodeLabels, relationshipTypes, concurrency

  • Orientation options: undirectedRelationshipTypes for making relationships bidirectional

  • Weight options: relationshipWeightProperty to use weighted relationships

  • Algorithm-specific options: dampingFactor for PageRank, maxLevels for Louvain and Leiden

You ran algorithms with different configurations to see how they affect results:

  • Directed vs. Undirected: Compared PageRank on directed and undirected actor networks

  • Unweighted vs. Weighted: Ran Leiden with and without rating weights

  • Configuration tuning: Experimented with various algorithm parameters

The skills you have

You can now:

  1. Understand what GDS algorithms do and when to use them

  2. Read GDS documentation independently to learn new algorithms

  3. Choose the right execution mode for your workflow

  4. Use utility functions to access node properties from results

  5. Configure algorithms for directed, undirected, and weighted relationships

  6. Run complete algorithm workflows from execution to result interpretation

What’s next: Advanced projection techniques

You know how to run and configure algorithms. Next you’ll learn some more advanced techniques for designing projections that enable more sophisticated analyses.

In the next module, Module 4: Advanced Projection Techniques, you’ll learn:

  • How to aggregate multiple relationships into weighted connections

  • When to use relationship aggregation for performance and insight

  • How to design projections based on analytical questions

  • How to match projection structure to algorithm requirements

  • How to think strategically about projection modeling

By the end of the next module, you’ll be able to independently design and implement complete GDS solutions from analytical question through to projection design, algorithm selection, and result interpretation.

Summary

You’ve mastered the fundamentals of working with GDS algorithms: categories, execution modes, documentation reading, and configuration. You understand how to run any algorithm with appropriate settings for directed, undirected, and weighted relationships.

Module 4 brings together everything you’ve learned about projections and algorithms, teaching you advanced techniques that enable sophisticated graph analysis for real-world problems.

Chatbot

How can I help you today?