├── .gitignore ├── LICENSE ├── README.md ├── SGC-tuning ├── citeseer.txt ├── cora.txt └── pubmed.txt ├── args.py ├── citation.py ├── data ├── ind.citeseer.allx ├── ind.citeseer.ally ├── ind.citeseer.graph ├── ind.citeseer.test.index ├── ind.citeseer.tx ├── ind.citeseer.ty ├── ind.citeseer.x ├── ind.citeseer.y ├── ind.cora.allx ├── ind.cora.ally ├── ind.cora.graph ├── ind.cora.test.index ├── ind.cora.tx ├── ind.cora.ty ├── ind.cora.x ├── ind.cora.y ├── ind.pubmed.allx ├── ind.pubmed.ally ├── ind.pubmed.graph ├── ind.pubmed.test.index ├── ind.pubmed.tx ├── ind.pubmed.ty ├── ind.pubmed.x └── ind.pubmed.y ├── downstream └── TextSGC │ ├── README.md │ ├── build_corpus.py │ ├── build_graph.py │ ├── models.py │ ├── remove_words.py │ ├── requirements.txt │ ├── train.py │ ├── tuned_result │ ├── 20ng.SGC.tuning.txt │ ├── R52.SGC.tuning.txt │ ├── R8.SGC.tuning.txt │ ├── mr.SGC.tuning.txt │ └── ohsumed.SGC.tuning.txt │ ├── tuning.py │ └── utils.py ├── metrics.py ├── model.jpg ├── models.py ├── normalization.py ├── reddit.py ├── requirements.txt ├── tuning.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- 1 | data/*reddit* 2 | downstream/TextSGC/data 3 | __pycache__/ 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/README.md -------------------------------------------------------------------------------- /SGC-tuning/citeseer.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/SGC-tuning/citeseer.txt -------------------------------------------------------------------------------- /SGC-tuning/cora.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/SGC-tuning/cora.txt -------------------------------------------------------------------------------- /SGC-tuning/pubmed.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/SGC-tuning/pubmed.txt -------------------------------------------------------------------------------- /args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/args.py -------------------------------------------------------------------------------- /citation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/citation.py -------------------------------------------------------------------------------- /data/ind.citeseer.allx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.citeseer.allx -------------------------------------------------------------------------------- /data/ind.citeseer.ally: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.citeseer.ally -------------------------------------------------------------------------------- /data/ind.citeseer.graph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.citeseer.graph -------------------------------------------------------------------------------- /data/ind.citeseer.test.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.citeseer.test.index -------------------------------------------------------------------------------- /data/ind.citeseer.tx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.citeseer.tx -------------------------------------------------------------------------------- /data/ind.citeseer.ty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.citeseer.ty -------------------------------------------------------------------------------- /data/ind.citeseer.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.citeseer.x -------------------------------------------------------------------------------- /data/ind.citeseer.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.citeseer.y -------------------------------------------------------------------------------- /data/ind.cora.allx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.cora.allx -------------------------------------------------------------------------------- /data/ind.cora.ally: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.cora.ally -------------------------------------------------------------------------------- /data/ind.cora.graph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.cora.graph -------------------------------------------------------------------------------- /data/ind.cora.test.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.cora.test.index -------------------------------------------------------------------------------- /data/ind.cora.tx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.cora.tx -------------------------------------------------------------------------------- /data/ind.cora.ty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.cora.ty -------------------------------------------------------------------------------- /data/ind.cora.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.cora.x -------------------------------------------------------------------------------- /data/ind.cora.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.cora.y -------------------------------------------------------------------------------- /data/ind.pubmed.allx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.pubmed.allx -------------------------------------------------------------------------------- /data/ind.pubmed.ally: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.pubmed.ally -------------------------------------------------------------------------------- /data/ind.pubmed.graph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.pubmed.graph -------------------------------------------------------------------------------- /data/ind.pubmed.test.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.pubmed.test.index -------------------------------------------------------------------------------- /data/ind.pubmed.tx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.pubmed.tx -------------------------------------------------------------------------------- /data/ind.pubmed.ty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.pubmed.ty -------------------------------------------------------------------------------- /data/ind.pubmed.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.pubmed.x -------------------------------------------------------------------------------- /data/ind.pubmed.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/data/ind.pubmed.y -------------------------------------------------------------------------------- /downstream/TextSGC/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/downstream/TextSGC/README.md -------------------------------------------------------------------------------- /downstream/TextSGC/build_corpus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/downstream/TextSGC/build_corpus.py -------------------------------------------------------------------------------- /downstream/TextSGC/build_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/downstream/TextSGC/build_graph.py -------------------------------------------------------------------------------- /downstream/TextSGC/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/downstream/TextSGC/models.py -------------------------------------------------------------------------------- /downstream/TextSGC/remove_words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/downstream/TextSGC/remove_words.py -------------------------------------------------------------------------------- /downstream/TextSGC/requirements.txt: -------------------------------------------------------------------------------- 1 | hyperopt==0.1.1 -------------------------------------------------------------------------------- /downstream/TextSGC/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/downstream/TextSGC/train.py -------------------------------------------------------------------------------- /downstream/TextSGC/tuned_result/20ng.SGC.tuning.txt: -------------------------------------------------------------------------------- 1 | 0.0013576034109430972 -------------------------------------------------------------------------------- /downstream/TextSGC/tuned_result/R52.SGC.tuning.txt: -------------------------------------------------------------------------------- 1 | 3.39184266146822e-06 -------------------------------------------------------------------------------- /downstream/TextSGC/tuned_result/R8.SGC.tuning.txt: -------------------------------------------------------------------------------- 1 | 0.000555422439238392 -------------------------------------------------------------------------------- /downstream/TextSGC/tuned_result/mr.SGC.tuning.txt: -------------------------------------------------------------------------------- 1 | 0.0031331167329072614 -------------------------------------------------------------------------------- /downstream/TextSGC/tuned_result/ohsumed.SGC.tuning.txt: -------------------------------------------------------------------------------- 1 | 0.003911359029974794 -------------------------------------------------------------------------------- /downstream/TextSGC/tuning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/downstream/TextSGC/tuning.py -------------------------------------------------------------------------------- /downstream/TextSGC/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/downstream/TextSGC/utils.py -------------------------------------------------------------------------------- /metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/metrics.py -------------------------------------------------------------------------------- /model.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/model.jpg -------------------------------------------------------------------------------- /models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/models.py -------------------------------------------------------------------------------- /normalization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/normalization.py -------------------------------------------------------------------------------- /reddit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/reddit.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/requirements.txt -------------------------------------------------------------------------------- /tuning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/tuning.py -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tiiiger/SGC/HEAD/utils.py --------------------------------------------------------------------------------