# Questions tagged [graphs]

The tag has no usage guidance.

180 questions
Filter by
Sorted by
Tagged with
33 views

### Which visualization tool should I use?

We consider the below function : $f(x,y,z,a) = x*y*z*a$, where $x,y \in \mathbb{Q}\cap[0,1000],$ $a\in\{2,3\}$ and $z=z(x)$, taking values from the below table based on the level-range that $x$ ...
15 views

### Unstable Training when combining Graph Neural Networks for Graph Classification Tasks

I have been combining Graph Convolutional Layers and Graph Pooling layers to define a neural network architecture for Graph Classification tasks. Specifically, using the Graph Convolutional Layer ...
16 views

### Create a weighted graph from a continous text

My goal: plot a graph that shows how much the words of a large text are connected to each other. My idea is that the closer the range between words, somehow affected by the occurence, the more ...
5 views

### How Autograph is able remove unnecessary operations?

Maybe my question is more related to computer science or graph theory, but when I started to read Tensorflow's documentation, I've learned that Autograph is able to avoid unnecessary operations to be ...
49 views

### Is it possible to get an ROC curve using Relu activation?

Based on my understanding, given that Relu doesn't provide probabilities unlike Softmax, it's not possible to plot an ROC curve. However, is there some way to convert the output from a Relu to ...
19 views

### Machine learning on graphs

I'm looking for some method/model to help me with my current problem: I have a geometry, consisting of points, and eges. For each point I take information about itself and its neighbours. For now I ...
67 views

### How to convert a pytorch geometric graph to Networkx Multigraph?

I have a weighted graph stored in Data object, and I want to convert this graph to Networkx MultiGraph. Here is what I have tried: ...
67 views

### From Labels to Graph: what machine learning approaches to use?

Imagine a world where we have places (e.g., cities, restaurants, national parks, etc.) but no roads connecting them. Our objective is to build roads connecting any two places while going through some ...
39 views

### Effect of weights on the Louvain communities detected

The Louvain method for community detection aims to optimize modularity and hence detect communities in the given graph. In case of a weighted graph would it be valid to assume that an edge with a ...
19 views

### node2vec initial embedding

I am referring to the following implementation of node2vec: https://github.com/eliorc/node2vec Is there a way to have a "smart initialization" with node2vec, i.e., to start the algorithm ...
65 views

### Is is possible to train on Hypergraphs in Keras?

I know that vanilla Keras doesn't support operations with graphs. For example, the Spektral library, based on Keras API, provides some layers to work with simple graphs. However, it doesn't support ...
29 views

### How to interpret KDE distribution graph?

I would like to know how to interpret this distribution graph. I have been doing an exercise from the book called 'Python for Finance Cookbook' by Eryk Lewinson. It does not give an in-depth ...
37 views

### What loss term might enforce interpretability?

A neural net can be interpreted as a weighted directed graph. Interpretability of this neural net could be measured using properties of that graph. In particular, "modularity" might be ...
25 views

### Semantic networks: word2vec?

I have some doubts on how to represent the relationships between words in texts. Let’s suppose I have two sentences like these: ...
27 views

### Directed graph with repulsor and attractor edges

I'm attempting to model the relationships (likes and hatreds) between various mercenaries to reduce friction after team formation. I'm using sigma.js as graph drawing library and ...
16 views

### Is there any inductive Graph Variational Auto Encoder?

I have been reading about how we can model a Variational AutoEncoder (VAE) into a Graph Variational AutoEncoder (GVAE) where the decoder reconstructs the adjacency matrix. I presume that this approach ...
23 views

### How to normalise(?) an [x,y] time series data set

Problem: I'm currently parsing a time series dataset, of [x,y] coordinates. The data isn't complete - it contains gaps and jitter, and I would like to fill these ...
80 views

### Which statistical test you propose to assess whether there is significant effect of specified categorical variable (s) on a categorical outcome?

I have a table that I am trying to analyse. ...
20 views

### Graph Neural Network - Node and Global Properties

I am trying to work with Graph neural networks. I am trying to use the 3d coordinates and some othe things related to those positions as features. However the whole system also has some global ...
16 views

### Identifying persistent clusters within a series of graphs

The task is to identify persistent clusters, i.e., groups of nodes that "persist" as clusters (tend to form a cluster) in a series of graphs. This is how I approached the problem: I form a ...
17 views

### Histogram indicating 20~25% in a certain range

This is a histogram of speeds of certain ships drawn to the density scale: I was told that the percent of speeds in the [17, 18) range is between 20 and 25, but I believe it's between 30 and 50. Can ...
4k views

### Anconda R version - How to upgrade to 4.0 and later

I use R through the anaconda navigator, which manages all my package installations. I need to use qgraph for a project, which is dependent on mnormt library, which in turn needs RStudio verion >4.0 ...
60 views

### Isn't graph embedding a step back from non-euclidean space?

As I understand, we use graph embedding to make a euclidean representation of non-euclidean structure - graph. Does it mean that conceptually we just take a step back to, may be, more complex, but ...
30 views

### Dynamic graph dataset

I'm working with dynamic graph embedding but I can not seek the dataset for my problem. Can you help me find dataset with some requires: A series of graph which represent for dynamic graphs. Each ...
13 views

### Modelling a small graph with heterogenous nodes

I want to learn the relationship between 2 nodes, say a User U and a location L. I have a small graph network representing the ...
21 views

### Bar-chart naming issue in Python code

I have a problem with labelling this bar graph. The 'blue' bar that indicates ML has 5 ml models and I'm trying to rename each of the 5 blue bars given into 5 ml model names obtained from the 'index' ...
235 views

### How to get two boxplots on same axis?

I have two dataframes (both of different lengths, etc) but they have exact same columns and I would like to explore the distribution of one of these columns by plotting a boxplot. However, how do I ...
29 views

### How to tell how much information I lose when I simplify the graph data structure with respect to unsimplified graph?

I have the following problem: I have some sort of data (that I can't publish here, but they are in the form of points with XYZ coordinates) and I can represent them as a collection of graphs i.e. \$Q = ...
9 views

### Optimal graph search algorithm for probabilistic world

Greeting, i have the following world: ~500-600 states ~4-5 action per state. 4 of the states of a coin on them. Some action are probabilistic (for example "Jump from A to B,C" , has 20% of ending ...
12 views

### Histogram with financial (decimal) amounts vs. normal numeric

Take the following historgram data: This is an item of "bin size" 1 from 0 onwards. However, I do not think this looks appropriate, as every time I have seen a histogram (or someone has requested it),...
15 views

### How to determine the optimal value of k for constructing the k-nearest neighbor graph?

I want to build a non-oriented k-nearest neighbor graph for use in a clustering method (unsupervised learning). The nodes of the graph correspond to points defined in a multidimensional real space and ...
387 views

### Creating graphs of CNN models: cannot use plot_model from keras.utils.vis_utils

I am using keras w/ PyCharm on windows 10. I am trying to print my tensorflow.keras.Model using ...
25 views

### Which graph to choose to plot anomaly detection

I'm creating tool to detect anomalies in syslog messages. I'm parsing syslogs into Bag of Words of 200 features. This BoW is forwarded into machine learning model based on selection. I got 12 models - ...
6 views

### Deep Graph tutorial, visualization not displaying

I am following this Deep Graph tutorial to learn more about GNNs. In the last step, they create a visualization of the network training, using the following code: ...
30 views

### ML recommendation system with items organized in a tree

I would like to develop a recommendation system (probably hybrid, user-based and feature-based) for items which are organized in a tree (there are categories, divided in sub-categories, divided in sub-...
487 views

### Overlay Bar Plot

I am trying to turn the first overlay bar plot into the second which allows for comparison of 2 variables instead of just one. Included my current code below which creates the first chart comparing ...
52 views

### Bokeh plot - Give colors to groups in categorical variable in scatter plot

I'm trying to create a scatterplot with all dots marked with a specific color representing a certain neigbourhood (categorical variable is neighbourhoodgroup consisting of 5 neighbourhoods). However, ...
30 views

### jumpy validation accuracy graph

helo, i have a very weird problem. my validation accuracy graph is very jumpy, and i dont know how to fix it this is the graph: this is a multi label problem. i calculate accuracy with 0.5 threshold ...
14 views

### How to create new graph vertices from existing one with igraph in R?

I have the following DF in R representing a directed graph: ...
199 views

### What is the current best state of the art algorithm for graph embedding of directed weighted graphs for binary classification?

Sorry if this is a newbee question, I'm not an expert in data science, so this is the problem: We have a directed and weighted graph, which higher or lower weight values does not imply the ...
9 views

### Fitting and extrapolating one curve on other

I have two graphs- The first graph is a data of 3 months and the second one is of 2 weeks. Now I want to extend the data of the second graph to 3 months in the manner(shape) of the first graph. How ...
78 views

### Graph Embedding Vs Graph Convolution Network

I'm new in Graph-Embedding and GCN(Graph/Geometric Convolution Network). I'm confused and not very much sure about "How training works in GCN"? As per my understanding, GCN training data will be ...
17 views

### How to update edge features in a graph using a loss function?

Given a directed, edge attributed graph G, where the edge attribute is a probability value, and a particular node N (with binary features f1 and f2) in G, the algorithm that I want to implement is as ...
27 views

### how to plot a mixed graph in R?

How can I plot a mixed graph in R? I have used this but doesn't work (in bnlearn he calls 'arc' to a directed edge and 'edge' to an undirected edge): ...
38 views

### Using deep learning on graphs

I have directed graphs with each vertex has some label in "class01_01.gml" format. There are multiple such classes. I need to do multi class classification on these files using deep learning. Note ...
57 views

### More pre-trained embeddings for PyTorch Big Graph

Apart from the entire wikidata, are there any other PyTorch Big Graph pre-trained graph embeddings on smaller sized knowledge graph, like freebase-15k? I do not have the resources to build it from ...
32 views

### How to summarize multiple time series like dataset

I am running an experiment where I am sampling CPU utilization every second. A snippet of the data from each experiment run is something like this: ...
266 views

### Scalable way to calculate betweenness centrality for a graph in spark

I have a use-case to calculate betweenness centrality of nodes. I have tried graphx with spark-betweenness but it is a very long running job. Has anyone successfully calculated betweenness centrality ...