GCN+PyG 的安装与使用
GCN+PyG 的安装与使用
GDS插件安装:Neo4j官方文档
一、PyG 的安装
1.1 安装命令
PyG资源链接
- 安装资源文件:
pip install torch_cluster-1.6.3+pt26cpu-cp39-cp39-win_amd64.whl
pip install torch_scatter-2.1.2+pt26cpu-cp39-cp39-win_amd64.whl
pip install torch_sparse-0.6.18+pt26cpu-cp39-cp39-win_amd64.whl
pip install torch_spline_conv-1.2.2+pt26cpu-cp39-cp39-win_amd64.whl
结果如下:
- 正式安装:
pip install torch-geometric
结果:Successfully installed torch-geometric-2.6.1
二、PyG的工作方式
在高层次上, GDS的工作方式是将数据转化并加载到一个为高性能图分析而优化的内存格式中. GDS在这种内存图格式上执行图算法, 特征工程和机器学习方法. 使得数据科学能够高效和可扩展地应用于展示整个或大部分图数据库的大型图