├── .gitattributes ├── .gitignore ├── Logo.jpg ├── MIT-LICENSE.txt ├── Node.zip ├── ProG_pipeline.jpg ├── README.md ├── Tutorial ├── downstream_task.ipynb ├── node_edge.py └── node_graph.py ├── bench.py ├── create_excel_for_bench.py ├── downstream_task.py ├── pre_train.py └── prompt_graph ├── __init__.py ├── data ├── Dataset.py ├── __init__.py ├── batch.py ├── graph_split.py ├── induced_graph.py ├── load4data.py └── pooling.py ├── defines.py ├── evaluation ├── AllInOneEva.py ├── GNNEva.py ├── GPFEva.py ├── GPPTEva.py ├── GpromptEva.py ├── MultiGpromptEva.py └── __init__.py ├── model ├── GAT.py ├── GCN.py ├── GCov.py ├── GIN.py ├── GraphSAGE.py ├── GraphTransformer.py └── __init__.py ├── pretrain ├── DGI.py ├── Edgepred_GPPT.py ├── Edgepred_Gprompt.py ├── GraphCL.py ├── GraphMAE.py ├── MultiGPrompt.py ├── SimGRACE.py ├── __init__.py └── base.py ├── prompt ├── AllInOnePrompt.py ├── GPF.py ├── GPPTPrompt.py ├── GPrompt.py ├── MultiGprompt.py ├── SUPT.py └── __init__.py ├── tasker ├── __init__.py ├── graph_task.py ├── link_task.py ├── node_task.py └── task.py └── utils ├── NegativeEdge.py ├── __init__.py ├── act.py ├── aug.py ├── center_embedding.py ├── constraint.py ├── contrast.py ├── edge_index_to_sparse_matrix.py ├── get_args.py ├── loss.py ├── mkdir.py ├── perturbation.py ├── prepare_structured_data.py ├── print_para.py ├── process.py ├── report_data.py └── seed.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/.gitignore -------------------------------------------------------------------------------- /Logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/Logo.jpg -------------------------------------------------------------------------------- /MIT-LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/MIT-LICENSE.txt -------------------------------------------------------------------------------- /Node.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/Node.zip -------------------------------------------------------------------------------- /ProG_pipeline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/ProG_pipeline.jpg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/README.md -------------------------------------------------------------------------------- /Tutorial/downstream_task.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/Tutorial/downstream_task.ipynb -------------------------------------------------------------------------------- /Tutorial/node_edge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/Tutorial/node_edge.py -------------------------------------------------------------------------------- /Tutorial/node_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/Tutorial/node_graph.py -------------------------------------------------------------------------------- /bench.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/bench.py -------------------------------------------------------------------------------- /create_excel_for_bench.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/create_excel_for_bench.py -------------------------------------------------------------------------------- /downstream_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/downstream_task.py -------------------------------------------------------------------------------- /pre_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/pre_train.py -------------------------------------------------------------------------------- /prompt_graph/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/__init__.py -------------------------------------------------------------------------------- /prompt_graph/data/Dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/data/Dataset.py -------------------------------------------------------------------------------- /prompt_graph/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/data/__init__.py -------------------------------------------------------------------------------- /prompt_graph/data/batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/data/batch.py -------------------------------------------------------------------------------- /prompt_graph/data/graph_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/data/graph_split.py -------------------------------------------------------------------------------- /prompt_graph/data/induced_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/data/induced_graph.py -------------------------------------------------------------------------------- /prompt_graph/data/load4data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/data/load4data.py -------------------------------------------------------------------------------- /prompt_graph/data/pooling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/data/pooling.py -------------------------------------------------------------------------------- /prompt_graph/defines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/defines.py -------------------------------------------------------------------------------- /prompt_graph/evaluation/AllInOneEva.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/evaluation/AllInOneEva.py -------------------------------------------------------------------------------- /prompt_graph/evaluation/GNNEva.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/evaluation/GNNEva.py -------------------------------------------------------------------------------- /prompt_graph/evaluation/GPFEva.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/evaluation/GPFEva.py -------------------------------------------------------------------------------- /prompt_graph/evaluation/GPPTEva.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/evaluation/GPPTEva.py -------------------------------------------------------------------------------- /prompt_graph/evaluation/GpromptEva.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/evaluation/GpromptEva.py -------------------------------------------------------------------------------- /prompt_graph/evaluation/MultiGpromptEva.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/evaluation/MultiGpromptEva.py -------------------------------------------------------------------------------- /prompt_graph/evaluation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/evaluation/__init__.py -------------------------------------------------------------------------------- /prompt_graph/model/GAT.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/model/GAT.py -------------------------------------------------------------------------------- /prompt_graph/model/GCN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/model/GCN.py -------------------------------------------------------------------------------- /prompt_graph/model/GCov.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/model/GCov.py -------------------------------------------------------------------------------- /prompt_graph/model/GIN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/model/GIN.py -------------------------------------------------------------------------------- /prompt_graph/model/GraphSAGE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/model/GraphSAGE.py -------------------------------------------------------------------------------- /prompt_graph/model/GraphTransformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/model/GraphTransformer.py -------------------------------------------------------------------------------- /prompt_graph/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/model/__init__.py -------------------------------------------------------------------------------- /prompt_graph/pretrain/DGI.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/pretrain/DGI.py -------------------------------------------------------------------------------- /prompt_graph/pretrain/Edgepred_GPPT.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/pretrain/Edgepred_GPPT.py -------------------------------------------------------------------------------- /prompt_graph/pretrain/Edgepred_Gprompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/pretrain/Edgepred_Gprompt.py -------------------------------------------------------------------------------- /prompt_graph/pretrain/GraphCL.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/pretrain/GraphCL.py -------------------------------------------------------------------------------- /prompt_graph/pretrain/GraphMAE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/pretrain/GraphMAE.py -------------------------------------------------------------------------------- /prompt_graph/pretrain/MultiGPrompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/pretrain/MultiGPrompt.py -------------------------------------------------------------------------------- /prompt_graph/pretrain/SimGRACE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/pretrain/SimGRACE.py -------------------------------------------------------------------------------- /prompt_graph/pretrain/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/pretrain/__init__.py -------------------------------------------------------------------------------- /prompt_graph/pretrain/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/pretrain/base.py -------------------------------------------------------------------------------- /prompt_graph/prompt/AllInOnePrompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/prompt/AllInOnePrompt.py -------------------------------------------------------------------------------- /prompt_graph/prompt/GPF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/prompt/GPF.py -------------------------------------------------------------------------------- /prompt_graph/prompt/GPPTPrompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/prompt/GPPTPrompt.py -------------------------------------------------------------------------------- /prompt_graph/prompt/GPrompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/prompt/GPrompt.py -------------------------------------------------------------------------------- /prompt_graph/prompt/MultiGprompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/prompt/MultiGprompt.py -------------------------------------------------------------------------------- /prompt_graph/prompt/SUPT.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/prompt/SUPT.py -------------------------------------------------------------------------------- /prompt_graph/prompt/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/prompt/__init__.py -------------------------------------------------------------------------------- /prompt_graph/tasker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/tasker/__init__.py -------------------------------------------------------------------------------- /prompt_graph/tasker/graph_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/tasker/graph_task.py -------------------------------------------------------------------------------- /prompt_graph/tasker/link_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/tasker/link_task.py -------------------------------------------------------------------------------- /prompt_graph/tasker/node_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/tasker/node_task.py -------------------------------------------------------------------------------- /prompt_graph/tasker/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/tasker/task.py -------------------------------------------------------------------------------- /prompt_graph/utils/NegativeEdge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/NegativeEdge.py -------------------------------------------------------------------------------- /prompt_graph/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/__init__.py -------------------------------------------------------------------------------- /prompt_graph/utils/act.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/act.py -------------------------------------------------------------------------------- /prompt_graph/utils/aug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/aug.py -------------------------------------------------------------------------------- /prompt_graph/utils/center_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/center_embedding.py -------------------------------------------------------------------------------- /prompt_graph/utils/constraint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/constraint.py -------------------------------------------------------------------------------- /prompt_graph/utils/contrast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/contrast.py -------------------------------------------------------------------------------- /prompt_graph/utils/edge_index_to_sparse_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/edge_index_to_sparse_matrix.py -------------------------------------------------------------------------------- /prompt_graph/utils/get_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/get_args.py -------------------------------------------------------------------------------- /prompt_graph/utils/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/loss.py -------------------------------------------------------------------------------- /prompt_graph/utils/mkdir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/mkdir.py -------------------------------------------------------------------------------- /prompt_graph/utils/perturbation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/perturbation.py -------------------------------------------------------------------------------- /prompt_graph/utils/prepare_structured_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/prepare_structured_data.py -------------------------------------------------------------------------------- /prompt_graph/utils/print_para.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/print_para.py -------------------------------------------------------------------------------- /prompt_graph/utils/process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/process.py -------------------------------------------------------------------------------- /prompt_graph/utils/report_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/report_data.py -------------------------------------------------------------------------------- /prompt_graph/utils/seed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheldonresearch/ProG/HEAD/prompt_graph/utils/seed.py --------------------------------------------------------------------------------