0Pricing
Neo4j Graph Database Fundamentals · Lekcja

Wprowadzenie do biblioteki GDS

Poznaj bibliotekę Neo4j Graph Data Science, jej funkcje oraz sposób, w jaki rozszerza możliwości analityczne Neo4j.

Wprowadzenie do biblioteki GDS to bezpłatna lekcja Neo4j Graph Database Fundamentals na CoddyKit. To lekcja 1 z 4. Możesz przeczytać całą lekcję poniżej za darmo — a potem ćwiczyć ją interaktywnie w przeglądarce z wbudowanym edytorem kodu i tutorem AI dostępnym 24/7. To część ścieżki edukacyjnej Neo4j Graph Database Fundamentals, a Twój postęp synchronizuje się między webem a aplikacją CoddyKit. Kurs Neo4j Graph Database Fundamentals zawiera 4 lekcji w sumie.

Części tej lekcji nie zostały jeszcze przetłumaczone i są wyświetlane po angielsku.

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!

Często zadawane pytania

Czy lekcja „Wprowadzenie do biblioteki GDS” jest bezpłatna?

Tak — pełny tekst „Wprowadzenie do biblioteki GDS” jest dostępny za darmo tutaj w sieci. Aby ćwiczyć ją interaktywnie (wbudowany edytor kodu i tutor AI dostępny 24/7) i odblokować resztę kursu Neo4j Graph Database Fundamentals, przejdź na CoddyKit PRO. Kurs Neo4j Graph Database Fundamentals zawiera 4 lekcji w sumie.

Co nauczysz się w „Wprowadzenie do biblioteki GDS”?

Poznaj bibliotekę Neo4j Graph Data Science, jej funkcje oraz sposób, w jaki rozszerza możliwości analityczne Neo4j. Ćwiczysz Neo4j Graph Database Fundamentals z praktycznym kodem, który uruchamiasz bezpośrednio w przeglądarce, a tutor AI dostępny 24/7 odpowiada na Twoje pytania podczas pracy nad lekcją.

Czy potrzebuję doświadczenia, aby zacząć Neo4j Graph Database Fundamentals?

Nie wymagamy żadnego doświadczenia. Neo4j Graph Database Fundamentals w CoddyKit jest strukturyzowany dla początkujących i zaawansowanych użytkowników, więc możesz zacząć tutaj lub od początku i uczyć się w swoim tempie. To lekcja 1 z 4.

Ile czasu zajmuje lekcja „Wprowadzenie do biblioteki GDS”?

Większość lekcji CoddyKit trwa około 5–10 minut. Każda lekcja to mały, interaktywny krok, dzięki czemu robisz systematyczne postępy i zawsze wracasz dokładnie do tego samego miejsca — na webie i w aplikacji.

Czy mogę pisać i uruchamiać kod w tej lekcji Neo4j Graph Database Fundamentals?

Tak. Każda lekcja Neo4j Graph Database Fundamentals zawiera wbudowany edytor kodu, więc piszesz i uruchamiasz prawdziwy kod bezpośrednio w przeglądarce i od razu otrzymujesz sprzężenie zwrotne od AI — bez konfiguracji na komputerze.

Wszystkie lekcje w tym kursie

  1. Wprowadzenie do biblioteki GDS
  2. Uruchamianie algorytmów GDS
  3. Potoki GDS i uczenie maszynowe
  4. Osadzania grafowe z GDS
← Powrót do Neo4j Graph Database Fundamentals