Share Your Experience: Take the 2024 Developer Survey

# Questions tagged [graphs]

For the nodes and links sense of graph; use the visualization tag for the charting sense.

218 questions
Filter by
Sorted by
Tagged with
13 views

### graph signal in GNN

I am reading several materials about graph signal processing for a thesis on Graph Neural Network and i see that a graph signal is defined as a vector so each node signal is a scalar. In practice, a ...
• 101
1 vote
31 views

### In a Computational Graph, how to calculate the total upstream gradient of a node with multiple upstreams?

Given a Computation Graph with a node (like the one below), I understand that I can use the upstream gradient dL/dz to calculate all of my downstream gradients. But what if there are multiple ...
• 111
4 views

### Trying to turn on owid-grapher's local server, I get "Waiting for MySQL to come up" forever and localhost:8080 doesn't return anything

I wanted to experiment with Our World in Data's Grapher. I followed the local development setup instructions. Most of the code worked. The Docker container is up. I can access the MySQL database with ...
• 101
1 vote
24 views

### Graph Clustering algorithms when both nodes *and* edges have features (numerical, categorical and potentially even temporal!)

I'm trying to figure out how much complexity I can get away with and am looking for model recommendations. I have transactional data on hand - the features being customer id, customer balance, ...
9 views

81 views

### Algorithms for Vertex or Node Correspondence

Given a graph G, and another graph with the same number of vertices G’, one can define a vertex correspondence function f, from the vertex set of G to the vertex set of G’. The correspondence function ...
38 views

### How to unify weights in my dataset

I have a symptom-disease network that consists of four attributes: symptom, disease, co-occurrence and TF-IDF. I'm considering the TF-IDF attribute as the weight of my network edges and symptom and ...
1 vote
41 views

### Tableau - Filter Buttons not filtering correctly

I created filter buttons to use as a filter for 6 category's (measures) in Tableau Public (latest version) so when you click on them the values for each display on my "Military Enrollment By ...
• 11
1 vote
19 views

### Predicting the amount of new nodes discovered if a known node is extended in a graph

I'm currently working on a problem relating to Discord servers (sort of like a group chat within a social media platform), where I have a program recursively joining servers, looking for invites, and ...
330 views

### Graph legend for plot in Base R for class differentiated data gives incorrect representation of actual category

I am new to R. While working on my university assignments, I found that legends for Base R plot do not show correct information, hence I switched to ggplot2 wherever legends were needed. I observed ...
• 21
42 views

### Return the gradient and y intercept (m, b) to create two lines to best fit the data

I have been working on this task for a few hours now and have been unsuccessful with getting the target result. I have tried using multiple methods of trying to split the dataset using different ...
• 21
1 vote
50 views

### Graph Pattern Matching Library

Assume that in an application, the user gives us a graph and we want to consider it as a pattern and find all occurrences of the pattern in a graph database (like neo4j). If we knew what the pattern ...
• 111
104 views

### Using MySQL Common Table Expressions to solve the travelling salesman problem

The problem I'm trying to solve is very similar to the travelling salesman problem, where there are many paths between nodes in the database. I've tried to edit my example to fit into this well-known ...
• 101
1 vote
40 views

### weakly connected (or disconnected) graph enhancement

I'm trying to model a collection of security alerts into graph representation. Each alert consists of 0 or more objects that represent IP addresses, users, hostnames and so on. I consider two objects ...
1 vote
19 views

### Node embeddings and densely connected graphs

I have a dataset of users and their interests (represented by categories) and I’m trying to embed the graph which results from connecting users if they have a common interest, so I’ll add an edge for ...
• 11
1 vote
107 views

### Is there a metric for "cliquiness" for social graphs?

Regarding social network graphs, let us say that I am connected to 10 people, and that each of them are connected to 10 people. At one extreme this means that I have 100 unique $2^{nd}$ degree ...
• 111
12 views

### Which kind of technique is used for classifying a graph datastructure?

I have a 3D surface from which I extract certain spatial parameters like extremas and their locations (a.k.a coordinates), which then I convert into a bipartite graph with distance between them as ...
1 vote
29 views

### Low-dimensional path representation learning

I have a graph (ex: map) and multiple sequences of ids representing different paths. A vertex represents a region/area An edge between 2 vertices : a crossing from a region to another A graph path (...
1 vote
904 views

### How to model a 3D graph into a vector so that I can feed it into a classification algorithm?

I have a 3D graph like below: Ref: google images It has 2 angles as X and Y and the Z axis is amplitude value (Each 3D graph is representing a pixel). I want to model this into some useful data ...
1 vote
57 views

### How to create a graph network (Networkx) from the solution of Ordinary differential equations?

I have a list of Nodes. Suppose, N =["1","2","3","4"] # there can be different number of nodes And I have solved the ...
• 103
582 views

### Negative sampling for graph representation learning

I was watching a lecture about graph representation learning (from here) and got a little bit confusing about how they define the negative samping procedure. In the presentation J. Leskovec briefly ...
• 21
889 views

### What does my learning curve indicate?

I have performed logistic regression. And I am getting an accuracy of 77% with my current model. I divided my training set into cross validation set and train set. And I plotted a learning curve (...
110 views

### Is there a node embedding method that is portable between graphs?

I have several graphs whose nodes I want to encode to later process them with a neural network. I want the embeddings to take into account the topology of the graph around the nodes I am embedding, ...
1 vote
77 views

### Stacked Bar Chart in R

I wondered if someone could help with a re-labelling 'fill' variables ' and the x-axis on a stacked bar chart please? My ambition is to: Express the fill variable(s) as of six domains in the health ...
• 203
1 vote