The Wayback Machine - https://web.archive.org/web/20200713195234/https://github.com/topics/graph-convolutional-networks
Skip to content
#

graph-convolutional-networks

Here are 145 public repositories matching this topic...

awesome-graph-classification
adocherty
adocherty commented Nov 27, 2019

Description

Currently our unit tests are disorganized and each test creates example StellarGraph graphs in different or similar ways with no sharing of this code.

This issue is to improve the unit tests by making functions to create example graphs available to all unit tests by, for example, making them pytest fixtures at the top level of the tests (see https://docs.pytest.org/en/latest/

dongcy-AHU
dongcy-AHU commented Sep 22, 2019

我觉得这里的else:row.append(i + vocab_size)应该改为else:row.append(i + train_size+vocab_size),对吗?
这段代码是为doc节点和word节点生成稀疏邻接矩阵的代码,邻接矩阵的大小为train_size + vocab_size + test_size, 当doc文本序号i大于train_size时,剩下的不就是test_size大小的文本与单词建立连接吗?test_size在邻接矩阵之前不是有train_size+vocab_size,所以此时是不是文本从train_size+vocab_size开始一一与词建立连接?

以下为源码:

for i in range(len(shuffle_doc_words_list)):
    doc_words = shuffle_doc_words_
SEAL-CI

Improve this page

Add a description, image, and links to the graph-convolutional-networks topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the graph-convolutional-networks topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.