Neo4j data science algorithms2 Flashcards

1
Q

Graph Attention Networks (GATs)

A

A type of Graph Neural Network that uses attention mechanisms to weigh the importance of neighboring nodes when aggregating information. For example, GATs can prioritize influential neighbors when predicting a node’s label.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Label Propagation Algorithm (LPA)

A

An iterative algorithm that propagates labels through a graph based on the majority labels of neighboring nodes, used for community detection. For example, LPA can identify clusters of similar users in a social network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Approximate Nearest Neighbors (ANN)

A

Techniques for finding the nearest neighbors of a node with reduced computational complexity compared to exact methods. For example, ANN algorithms can be used in recommendation systems to quickly find similar items.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Eigenvector Centrality

A

A measure of node importance in a graph based on the principle that connections to high-scoring nodes contribute more to a node’s score. For example, nodes with high eigenvector centrality are influential in networks like the web.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Graph Kernel

A

A method for measuring the similarity between graphs by comparing their substructures, enabling machine learning tasks like classification. For example, graph kernels can be used to classify molecular structures in bioinformatics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Spectral Clustering

A

A technique that uses the eigenvalues of a graph’s Laplacian matrix to perform clustering, effective for detecting complex community structures. For example, spectral clustering can identify functional modules in biological networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Graph Convolutional Networks (GCNs)

A

A type of neural network that applies convolutional operations to graph data, capturing local neighborhood information. For example, GCNs are used for node classification tasks in citation networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

HITS Algorithm (Hyperlink-Induced Topic Search)

A

An algorithm that identifies two types of nodes in a graph: hubs and authorities, based on mutual reinforcement. For example, in a web graph, hubs are pages that link to many authorities, and authorities are pages linked by many hubs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

GraphSAGE (Graph Sample and Aggregate)

A

An inductive framework that generates node embeddings by sampling and aggregating features from a node’s local neighborhood. For example, GraphSAGE can be used for dynamic graphs where new nodes are frequently added.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

DeepWalk

A

A technique that learns latent representations of nodes in a graph by performing random walks and treating them as sentences for training a skip-gram model. For example, DeepWalk can generate embeddings for nodes in social networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Transductive Learning

A

A type of machine learning task where the goal is to predict labels for a specific set of nodes, leveraging both labeled and unlabeled data. For example, transductive learning can be applied to semi-supervised classification in graphs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Node2Vec

A

An algorithm that generates node embeddings by optimizing a biased random walk to capture diverse network features. For example, Node2Vec can be used to create embeddings that preserve both local and global graph structures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Community Detection with Louvain Method

A

An algorithm for identifying communities in large networks by maximizing modularity, a measure of the strength of division of a network into modules. For example, the Louvain method can detect meaningful groups in social or biological networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Chebyshev Spectral Filters

A

Filters used in spectral graph convolutional networks to approximate graph convolution operations, enhancing computational efficiency. For example, these filters can be used to improve the scalability of GCNs for large graphs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Edge Betweenness Centrality

A

A measure of an edge’s importance based on the number of shortest paths passing through it, used to identify critical links in a network. For example, edges with high betweenness centrality can indicate bottlenecks in communication networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

GraphQL

A

A query language for APIs that allows clients to request specific data structures from graph databases like Neo4j, facilitating efficient data retrieval. For example, GraphQL can be used to query complex relational data with a single API call.

17
Q

Multi-relational Graphs

A

Graphs that contain multiple types of edges representing different relationships between nodes, useful for complex datasets. For example, a social network can be modeled as a multi-relational graph with edges for friendships, likes, and comments.