forked from LYuhang/GNN_Review
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
11,401 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
741 changes: 741 additions & 0 deletions
741
PyG和Pytorch实现GNN模型/.ipynb_checkpoints/GNN_Implement_with_Pytorch-checkpoint.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
632 changes: 632 additions & 0 deletions
632
PyG和Pytorch实现GNN模型/.ipynb_checkpoints/GNN_Implemet_with_PyG-checkpoint.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
## Cora数据集 | ||
|
||
[TOC] | ||
|
||
### 参考链接 | ||
|
||
+ [数据集下载链接](https://linqs.soe.ucsc.edu/data) | ||
|
||
### 数据集介绍 | ||
|
||
Cora数据集由许多机器学习领域的paper构成,这些paper被分为7个类别: | ||
|
||
+ Case_Based | ||
+ Genetic_Algorithms | ||
+ Neural_Networks | ||
+ Probabilistic_Methods | ||
+ Reinforcement_Learning | ||
+ Rule_Learning | ||
+ Theory | ||
|
||
在该数据集中,每一篇论文至少引用了该数据集里面另外一篇论文或者被另外一篇论文所引用,数据集总共有2708篇papers。 | ||
|
||
在消除停词以及除去文档频率小于10的词汇,最终词汇表中有1433个词汇。 | ||
|
||
数据集文件夹中包含两个文件: | ||
|
||
1. `.content`文件包含对paper的内容描述,格式为 | ||
$$ | ||
\text{<paper_id> <word_attributes> <class_label>} | ||
$$ | ||
其中 | ||
|
||
+ `<paper_id>`是paper的标识符,每一篇paper对应一个标识符。 | ||
+ `<word_attributes>`是词汇特征,为0或1,表示对应词汇是否存在。 | ||
+ `<class_label>`是该文档所述的类别。 | ||
|
||
2. `.cites`文件包含数据集的引用图(citation graph),每一行格式如下 | ||
$$ | ||
\text{<ID of cited paper> <ID of citing paper>} | ||
$$ | ||
其中 | ||
|
||
+ `<ID of cited paper>`是被引用的paper标识符。 | ||
+ `<ID of citing paper>`是引用的paper标识符。 | ||
|
||
引用的方向是从右向左的,比如有一行为`paper1 paper2`,那么对应的连接关系是`paper2->paper1`。 | ||
|
Oops, something went wrong.