0Pricing
Neo4j Graph Database Fundamentals · Lección

Introducción a la biblioteca GDS

Obtenga una visión general de la biblioteca Graph Data Science de Neo4j, sus funciones y la forma en que amplía las capacidades analíticas de Neo4j.

Introducción a la biblioteca GDS es una lección gratuita de Neo4j Graph Database Fundamentals en CoddyKit. Esta es la lección 1 de 4. Puedes leer la lección completa abajo gratuitamente — luego la practicas en el navegador con un editor de código integrado y un tutor de IA 24/7. Forma parte de la ruta de aprendizaje de Neo4j Graph Database Fundamentals, y tu progreso se sincroniza en la web y la app de CoddyKit. El curso de Neo4j Graph Database Fundamentals incluye 4 lecciones en total.

Partes de esta lección aún no han sido traducidas y se muestran en inglés.

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!

Preguntas frecuentes

¿La lección «Introducción a la biblioteca GDS» es gratis?

Sí — el texto completo de «Introducción a la biblioteca GDS» es gratis para leer aquí en la web. Para practicarla de forma interactiva (editor de código integrado y tutor de IA 24/7) y desbloquear el resto del curso de Neo4j Graph Database Fundamentals, actualiza a CoddyKit PRO. El curso de Neo4j Graph Database Fundamentals incluye 4 lecciones en total.

¿Qué aprenderé en «Introducción a la biblioteca GDS»?

Obtenga una visión general de la biblioteca Graph Data Science de Neo4j, sus funciones y la forma en que amplía las capacidades analíticas de Neo4j. Practicas Neo4j Graph Database Fundamentals con código real que ejecutas directamente en el navegador, y un tutor de IA 24/7 responde tus preguntas mientras trabajas en la lección.

¿Necesito experiencia previa para empezar Neo4j Graph Database Fundamentals?

No se requiere experiencia previa. Neo4j Graph Database Fundamentals en CoddyKit está estructurado para principiantes hasta estudiantes avanzados, así que puedes empezar aquí o desde el inicio y avanzar a tu ritmo. Esta es la lección 1 de 4.

¿Cuánto tiempo toma la lección «Introducción a la biblioteca GDS»?

La mayoría de las lecciones de CoddyKit toman alrededor de 5–10 minutos. Cada una es compacta e interactiva, así que avanzas constantemente y retomas exactamente por donde dejaste en la web y la app.

¿Puedo escribir y ejecutar código en esta lección de Neo4j Graph Database Fundamentals?

Sí. Cada lección de Neo4j Graph Database Fundamentals incluye un editor de código integrado, así que escribes y ejecutas código real directamente en tu navegador y obtienes retroalimentación instantánea de IA — sin configuración local necesaria.

Todas las lecciones de este curso

  1. Introducción a la biblioteca GDS
  2. Ejecución de algoritmos de GDS
  3. Pipelines de GDS y machine learning
  4. Embeddings de grafos con GDS
← Volver a Neo4j Graph Database Fundamentals