Questions tagged [graph-data-science]

Graph Data Science is a science-driven approach to gain knowledge from the relationships and structures in data, typically to power predictions. It describes a toolbox of techniques that help data scientists answer questions and explain outcomes using graph data.

Graph Data Science is a science-driven approach to gain knowledge from the relationships and structures in data, typically to power predictions. It describes a toolbox of techniques that help data scientists answer questions and explain outcomes using graph data.

Popular graph data science libraries

98 questions
0
votes
1 answer

Seaborn code Anscombe’s quartet does not work

The Seaborn code does not work. I use jupyterlite to execute seaborn python code. first, i import seaborn in the following way -- import piplite await piplite.install('seaborn') import matplotlib.pyplot as plt import seaborn as sn %matplotlib…
0
votes
1 answer

Neo4j, Graph Data Science Python Library Scaling Functions

Does anyone know whether the scaling functions mentioned here https://neo4j.com/docs/graph-data-science/current/alpha-algorithms/scale-properties/ exist within the python library, if so how can I call them?
0
votes
0 answers

graph data science library stream too slow & how to retrieve node label(type)?

Q1. We're trying to perform random walk and I followed the example, https://github.com/neo4j/graph-data-science-client/blob/main/examples/import-sample-export-gnn.ipynb our graph consists of 170 million nodes, 1700 million edges and set enough…
Tony Jung
  • 1
  • 1
0
votes
0 answers

Why am I getting accuracy 0 while training and testing in pytorch?

I am making embeddings using metapaths. I loaded a heterogeneous graph dataset. I made this using pytorch-geometric docs. Here is the information regarding the dataset. HeteroData( Publication={ x=[6662, 8], y_index=[6662, 1], y=[6662,…
0
votes
1 answer

~0+. object in R programming

I came across a solution for how to map non factorial data into a correlation matrix in which the solution uses an argument ~0+.. For reference, here's the code : model.matrix(~0+., data=df) %>% cor(use="pairwise.complete.obs") %>% …
Ahan
  • 73
  • 5
0
votes
0 answers

Issues projecting a graph in cypher and in python using GraphDataScience package

As title states, I'm new to neo4j and cypher, but come from a python/SQL background. I have taken my data and gotten the data into the database as nodes and made a function that connects all those nodes via relationships that follow a "has_Column"…
0
votes
1 answer

How Graph Data Science Library use in neo4j desktop?

I use this site to run this query: CALL gds.graph.project( 'graph', 'Label', { TYPE: { orientation: 'UNDIRECTED' } } ) But it arise this error: gds.graph.project is unavailable because it is sandboxed and has dependencies outside of…
Tavakoli
  • 1,303
  • 3
  • 18
  • 36
0
votes
0 answers

CSV to Adjacent matrix

I have a csv file with with 25 rows and 25 columns . the first row and columns are the headings. How do i plot the adjacent matrix for the given data using python?
XYZ
  • 1
0
votes
1 answer

Cypher query to reveal same entity through relationships

I'm pretty new to graph databases and neo4j in general but trying to solve a problem using this approach. I have two datasets, one with addresses and DOC_ID where many addresses are related to document through is_in relationship. Many addresses can…
amnesic
  • 259
  • 1
  • 7
0
votes
0 answers

Difficulty updating Neo4j LPA community detection to GDS version with graph projections

I'm trying to migrate and upgrade my graph to the latest version of Neo4j and make use of new features and GDS algorithms. The old LPA community detection query was as follows: CALL algo.labelPropagation.stream( 'MATCH (p:Publication) RETURN id(p)…
Lakeside52
  • 159
  • 1
  • 2
  • 7
0
votes
1 answer

Keep a projected graph in synch with persisted graph in Neo4j GDS

I have a large dataset to run a specific Graph Data Science algorithm on. The functional requirement is that the algorithm will be run often and that the dataset changes in real-time. As I understand, in order to run an algorithm I have to project…
Igor Loskutov
  • 2,157
  • 2
  • 20
  • 33
0
votes
1 answer

Connecting full text research papers to a graph GDS (Neo4j)

I'm looking for tips or tricks on how to connect full text research papers to a graph in Neo4j. I've researched some APIs that allow you to connect to scholarly articles - are there any best practices for doing this? Cheers!
Lakeside52
  • 159
  • 1
  • 2
  • 7
0
votes
1 answer

Node Hash in ArangoDB?

I'm using ArangoDB for Graph-Versioning and would be looking for a faster method to evaluate whether or not a Node is the same in two different collections. Apart from hashing each node before I write it - does ArangoDB have any mechanism that lets…
Qohelet
  • 1,459
  • 4
  • 24
  • 41
0
votes
0 answers

Using GDS LPA on a projected graph

I'm trying to create a graph projection and use different GDS algorithms on the latest version of Neo4j - the previous algorithms were made using the pre-GDS syntax. I'd like to project a new graph to perform community detection from the in-memory…
Lakeside52
  • 159
  • 1
  • 2
  • 7
0
votes
1 answer

Neo4j Community detection

Hello Stack overflow community; I am working in a scholar project using Neo4j database and i need help from members which are worked before with neo4j gds in order to finding a solution for my problem; i want to apply a community detection algorithm…
Chahinez
  • 25
  • 4