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

building recommendation system using weight as relation in neo4j

in my graph we have users that have 2 relation called "favorite" and "seen" with products and product have relation called has with some specification as colors(red blue...) , types(jeans....) and sizes (30...) so i make some query that when i wanna…
0
votes
2 answers

How to find shortest path limiting the distance from source?

I started to learn Neo4j a few days ago. I'm using it to find best path and make some analyzes. The logic is a Person (id, name) can go to a Restaurant (id, name) via some Street (id, name). The connection between them have a cost. PS: All streets…
0
votes
1 answer

Make complex query neo4J (Cypher) for filtring result

I have 4 Types of nodes : A it the start point B C D final destination points I want to display some node D. with these steps : 1 - When we go with node A to node B I want to explore node B when r.val < 5 for example So in this example I want to…
jaki hart
  • 95
  • 7
0
votes
1 answer

gds.beta.pipeline.nodeClassification.train: Target property not found

Using Neo4j v4.4 and GDS 2.0. I'm trying to train a model. When I type: CALL gds.beta.pipeline.nodeClassification.train('individual-graph', { pipeline: 'pipe', nodeLabels: ['PERSON'], modelName: 'xmen-model-fastRP', targetProperty:…
jvilledieu
  • 535
  • 2
  • 12
0
votes
1 answer

Does the shortest path mining algorithm of Neo4j require the relationship between nodes to be in the same direction

Please take a look at the picture. I wanted to use Yen's Algorithm Shortest Path from Neo4j Graph Data Science to dig the Shortest Path between A and F, but nothing came back. The following code: MATCH (source:Location{name: ‘A’}),…
guiniao
  • 181
  • 1
  • 9
0
votes
1 answer

Neo4j similarity of single node with entire graph

I'm trying to use gds in neo4j do calculate similarities. I understand how to get gds to calculate all the similarities in the in memory graph, but really this answer the question "Tell me, over the whole graph, the similarity of each pair of…
0
votes
0 answers

Plotly on_click Function not working on Google Colab

Hello I'm trying to display the figure of this code in google colab it's figuring the plot but when I try to click each point it's not working, it should be turning a green circle, I think the problem is on_click function but i couldn't resolute…
0
votes
4 answers

Neo4j Cypher Query - return counts of relationships in separate columns

I have experience with Neo4j and Cypher, but still struggle with aggregate functions. I'm trying to pull a CSV out of Neo4j that should look like this: Location Number of Node X at Location Number of Node Y at…
MGipson
  • 41
  • 3
0
votes
1 answer

No procedure with the name `gds.beta.node2vec.stream`

I am trying to use node2vec in Neo4j Desktop. My DB is v. 4.4.4. I have installed Graph Data Science Library (1.8.5) from the plugins tab. But when I try to use "CALL gds.beta.node2vec.stream" I get There is no procedure with the name…
0
votes
1 answer

How to view in-memory graph in Neo4j?

Is it possible to call an in-memory graph (projected graph) in a way that returns a graph (not only Table, Text & Code) in Neo4j database?
Marcel
  • 428
  • 4
  • 8
0
votes
1 answer

Identifying nodes with many, but thin connections

I need to identify (and label) nodes with many relationships (say, 10 on a possible scale of 1 to 60) but weak weights for the relationships (say 1 or 2 on a possible scale of 1 to 100). I could write a Cypher query to find them. I don’t need help…
Sanjay Singh
  • 367
  • 1
  • 11
0
votes
1 answer

Is there any way to mutate the property on relationship which is already exist on node?

I am using neo4j GDS library and wondering is there any way I can mutate a property on the relationship which is already exist on the node. e.g. I have nodes with label Person connected nodes Book using relationship read. I am using the Page Rank…
user2813165
  • 31
  • 1
  • 5
0
votes
1 answer

Convert a string attribute to embedding in Neo4j Cypher?

I have the following node in my Neo4j graph (actually I have many of them, this is a representative node): {id: 1, name: "John", last_name: "Doe", age: 40, city: "New York", credit_score: 5.5} How to transform all the attributes of type string to…
SteveS
  • 3,789
  • 5
  • 30
  • 64
0
votes
1 answer

Is it a problem if mean similarity score is high when building a similarity graph?

I'm building a similarity graph in Neo4j and gds.nodeSimilarity.stats is reporting a mean similarity score in the 0.60 to 0.85 range for the projection I'm using regardless of how I transform the graph. I've tried: Only projecting relationships…
CowCookie
  • 51
  • 4
0
votes
1 answer

Convert a node with multiple attributes types (int, float, string) to an embedding using Neo4j and GraphSAGE?

If my nodes look like: {id: 1, name: "John", last_name: "Doe", age: 40, city: "New York", credit_score: 5.5} {id: 2, name: "Linda", last_name: "Lumbo", age: 32, city: "Washington", credit_score: 5.5} {id: 3, name: "Greg", last_name: "Tanta", age:…
SteveS
  • 3,789
  • 5
  • 30
  • 64