0Pricing
Neo4j Graph Database Fundamentals · Lektion

Einführung in die GDS-Bibliothek

Verschaffen Sie sich einen Überblick über die Neo4j Graph Data Science Library, ihre Funktionen und ihre Erweiterung der Analysefähigkeiten von Neo4j.

Einführung in die GDS-Bibliothek ist eine kostenlose Neo4j Graph Database Fundamentals-Lektion auf CoddyKit. Dies ist Lektion 1 von 4. Du kannst die komplette Lektion unten kostenlos lesen – dann übst du sie direkt im Browser mit einem integrierten Code-Editor und einem KI-Tutor rund um die Uhr. Sie ist Teil des Neo4j Graph Database Fundamentals-Lernpfads, und dein Fortschritt wird über Web und CoddyKit-App synchronisiert. Der Neo4j Graph Database Fundamentals-Kurs umfasst insgesamt 4 Lektionen.

Teile dieser Lektion wurden noch nicht übersetzt und werden auf Englisch angezeigt.

Welcome to Neo4j GDS!

Hello! In this lesson, we'll dive into the Neo4j Graph Data Science (GDS) library. It's a powerful toolkit for advanced graph analytics.

GDS helps you uncover hidden insights and patterns in your graph data that are difficult to find with standard queries alone.

What is the GDS Library?

The GDS library is a collection of optimized graph algorithms and machine learning pipelines built specifically for Neo4j.

  • It's designed for scale and performance.
  • It works directly with your graph data.
  • It helps you answer complex questions about relationships and structures.

Why Use GDS?

While Cypher is great for querying, some analytical tasks require more computational power and specific algorithms. GDS steps in here.

It's used for things like identifying influential nodes, detecting communities, finding shortest paths, and even for feature engineering in machine learning.

Core GDS Concept: Graph Projection

Before running most GDS algorithms, you need to project your graph. This means creating an in-memory representation of a subset of your graph data.

Why? Algorithms run much faster on these optimized in-memory structures, especially for large datasets.

How Projection Works

When you project a graph, GDS identifies specific nodes and relationships from your Neo4j database and loads them into its own optimized memory space.

You define which node labels and which relationship types to include in your projection.

Simple Graph Projection Example

Let's see a basic example of projecting a graph. This Cypher command projects all Person nodes and their KNOWS relationships into an in-memory graph named 'myGraph'.

CALL gds.graph.project(
  'myGraph',
  'Person',
  'KNOWS'
)

Graph Catalog

Projected graphs are stored in the Graph Catalog. You can list them, manage them, and refer to them by name when running algorithms.

This catalog helps organize your in-memory graphs, making it easy to reuse them for different analyses.

GDS Algorithm Categories

The GDS library contains many algorithms, broadly categorized:

  • Pathfinding: Finding shortest paths or all paths (e.g., A*, Dijkstra).
  • Centrality: Identifying important nodes (e.g., PageRank, Betweenness Centrality).
  • Community Detection: Grouping similar nodes (e.g., Louvain, Label Propagation).
  • Link Prediction: Predicting missing relationships.

GDS vs. Standard Cypher Queries

While Cypher can do basic graph traversals, GDS is optimized for iterative, global graph computations.

  • Cypher: Best for specific pattern matching, CRUD operations, small traversals.
  • GDS: Best for complex analytical tasks, large-scale graph analysis, machine learning prep.

They complement each other beautifully!

Quick Check on GDS

What is the primary purpose of 'graph projection' in the Neo4j GDS library?

GDS Intro Recap

Great job! You've just learned about the Neo4j Graph Data Science library.

  • GDS is a powerful tool for advanced graph analytics.
  • It uses graph projection to create efficient in-memory graphs.
  • It offers various algorithm categories like Pathfinding, Centrality, and Community Detection.

Next, we'll explore how to run these algorithms!

Häufig gestellte Fragen

Ist die Lektion „Einführung in die GDS-Bibliothek“ kostenlos?

Ja — der vollständige Text von „Einführung in die GDS-Bibliothek“ ist hier im Web kostenlos zu lesen. Um sie interaktiv zu üben (integrierter Code-Editor und 24/7 KI-Tutor) und den Rest des Neo4j Graph Database Fundamentals-Kurses freizuschalten, upgrade auf CoddyKit PRO. Der Neo4j Graph Database Fundamentals-Kurs umfasst insgesamt 4 Lektionen.

Was lerne ich in „Einführung in die GDS-Bibliothek“?

Verschaffen Sie sich einen Überblick über die Neo4j Graph Data Science Library, ihre Funktionen und ihre Erweiterung der Analysefähigkeiten von Neo4j. Du übst Neo4j Graph Database Fundamentals mit praktischem Code, den du direkt im Browser ausführst, und ein 24/7 KI-Tutor beantwortet deine Fragen während du die Lektion bearbeitest.

Brauche ich Erfahrung, um Neo4j Graph Database Fundamentals zu starten?

Keine Vorkenntnisse erforderlich. Neo4j Graph Database Fundamentals auf CoddyKit ist für Anfänger bis fortgeschrittene Lernende strukturiert, sodass du hier starten oder von Anfang an beginnen und in deinem eigenen Tempo voranschreiten kannst. Dies ist Lektion 1 von 4.

Wie lange dauert die Lektion „Einführung in die GDS-Bibliothek“?

Die meisten CoddyKit-Lektionen dauern etwa 5–10 Minuten. Jede ist kompakt und interaktiv, sodass du stetig Fortschritte machst und genau dort weitermachst, wo du aufgehört hast – im Web und in der App.

Kann ich in dieser Neo4j Graph Database Fundamentals-Lektion Code schreiben und ausführen?

Ja. Jede Neo4j Graph Database Fundamentals-Lektion enthält einen integrierten Code-Editor, sodass du echten Code direkt in deinem Browser schreibst und ausführst und sofort KI-Feedback erhältst — ohne lokale Einrichtung erforderlich.

Alle Lektionen in diesem Kurs

  1. Einführung in die GDS-Bibliothek
  2. GDS-Algorithmen ausführen
  3. GDS-Pipelines und maschinelles Lernen
  4. Graph-Embeddings mit GDS
← Zurück zu Neo4j Graph Database Fundamentals