Answers.Body: <p><strong>YES</strong></p>
  <p>Graph neural networks (GNNs) can be used to make predictions about individual nodes within a graph. GNNs <em>also</em> can be used to make predictions about entire graphs themselves. Below, I give references to GNN use in making predictions based on molecular structures and images. You may be interested in consulting material referenced by these papers, too.</p>
  <p><strong>Molecules</strong></p>
  <p><a href="https://ieeexplore.ieee.org/abstract/document/9338432" rel="nofollow noreferrer">Shui, Zeren, and George Karypis. &quot;Heterogeneous molecular graph neural networks for predicting molecule properties.&quot; 2020 IEEE International Conference on Data Mining (ICDM). IEEE, 2020.</a></p>
  <p><a href="https://www.sciencedirect.com/science/article/pii/S1740674920300305" rel="nofollow noreferrer">Wieder, Oliver, et al. &quot;A compact review of molecular property prediction with graph neural networks.&quot; Drug Discovery Today: Technologies 37 (2020): 1-12.</a></p>
  <p><strong>Images</strong></p>
  <p><a href="https://ieeexplore.ieee.org/abstract/document/9540038" rel="nofollow noreferrer">Hu, Haojie, et al. &quot;Graph neural network via edge convolution for hyperspectral image classification.&quot; IEEE Geoscience and Remote Sensing Letters 19 (2021): 1-5.</a></p>
  <p><a href="https://www.sciencedirect.com/science/article/abs/pii/S016786552300003X" rel="nofollow noreferrer">Vasudevan, Varun, et al. &quot;Image classification using graph neural network and multiscale wavelet superpixels.&quot; Pattern Recognition Letters 166 (2023): 89-96.</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-16T19:09:38.550Z
Answers.LastActivityDate: 2024-11-16T19:09:38.550Z
Answers.UserDisplayName: Dave
Body: <p>I'd like to run a classifier on data I have for which each data point is itself a graph/network. I have hundreds of graphs of different types (so labelled, though I'm interested in doing both unsupervised and supervised learning), but I'm having trouble finding out of this has been done before. Graph neural networks mainly seem to be used for within-graph classification. I've found only a little material on graph-level classification.</p>
  <p>What are established approaches to this kind of problem? I thought of extracting features from the graphs, then using said features as inputs? Or flattening the adjacency matrices and using these as inputs to an NN. Both of these methods seem like they may discard too much information to work though?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-11-16T14:44:15.967Z
Comments.Text: I’ve definitely seen work where graph neural networks make predictions for graph inputs. I believe this has been used in image classification, even. I’ll post an answer if I find some references.
Comments.UserDisplayName: Dave
Tags: <neural-networks><graph-neural-networks>
Title: Can one use a neural network classifier for which input data are networks?
UserDisplayName: mrz123456
ThreadText: # Can one use a neural network classifier for which input data are networks?
  
  (Asked by: username_0 on 2024-11-15)
  
  I'd like to run a classifier on data I have for which each data point is itself a graph/network. I have hundreds of graphs of different types (so labelled, though I'm interested in doing both unsupervised and supervised learning), but I'm having trouble finding out of this has been done before. Graph neural networks mainly seem to be used for within-graph classification. I've found only a little material on graph-level classification.
  
  What are established approaches to this kind of problem? I thought of extracting features from the graphs, then using said features as inputs? Or flattening the adjacency matrices and using these as inputs to an NN. Both of these methods seem like they may discard too much information to work though?
  
  **Tags:** neural-networks, graph-neural-networks
  > **Comments:**
  > **username_1**: I’ve definitely seen work where graph neural networks make predictions for graph inputs. I believe this has been used in image classification, even. I’ll post an answer if I find some references.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-11-16. Score: 1
  
  **YES**
  
  Graph neural networks (GNNs) can be used to make predictions about individual nodes within a graph. GNNs *also* can be used to make predictions about entire graphs themselves. Below, I give references to GNN use in making predictions based on molecular structures and images. You may be interested in consulting material referenced by these papers, too.
  
  **Molecules**
  
  [Shui, Zeren, and George Karypis. "Heterogeneous molecular graph neural networks for predicting molecule properties." 2020 IEEE International Conference on Data Mining (ICDM). IEEE, 2020.](https://ieeexplore.ieee.org/abstract/document/9338432)
  
  [Wieder, Oliver, et al. "A compact review of molecular property prediction with graph neural networks." Drug Discovery Today: Technologies 37 (2020): 1-12.](https://www.sciencedirect.com/science/article/pii/S1740674920300305)
  
  **Images**
  
  [Hu, Haojie, et al. "Graph neural network via edge convolution for hyperspectral image classification." IEEE Geoscience and Remote Sensing Letters 19 (2021): 1-5.](https://ieeexplore.ieee.org/abstract/document/9540038)
  
  [Vasudevan, Varun, et al. "Image classification using graph neural network and multiscale wavelet superpixels." Pattern Recognition Letters 166 (2023): 89-96.](https://www.sciencedirect.com/science/article/abs/pii/S016786552300003X)
  
  
  ---
  
  