图神经网络
fVector
研究NLP,在医疗AI领域,对NLP有兴趣的朋友可以一起聊聊
展开
-
cs223w课程笔记7-GNN2
GNN = message + aggregationMSG可以是一个线性变换,注意hvl{h_v}^lhvl利用了v结点本身的信息。原创 2021-11-22 17:34:06 · 711 阅读 · 0 评论 -
图神经网络pyg,使用Cora数据集
关于Core数据集的手动导入问题,见博客https://blog.csdn.net/qq_42969578/article/details/121450994?spm=1001.2014.3001.5501关于Core数据集的一些问题import osos.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"#导入数据集from torch_geometric.datasets import Planetoiddataset = Planetoid(root =原创 2021-11-21 20:37:22 · 1506 阅读 · 2 评论 -
Planetoid手动导入Cora数据集
首先建立文件夹在你的相对路径下建立如下图所示文件目录dataCoreprocessedraw把下载好的数据集放入raw中,然后运行如下代码#导入数据集from torch_geometric.datasets import Planetoiddataset = Planetoid(root = "data/", name = "Cora")print(dataset)...原创 2021-11-21 11:12:37 · 1982 阅读 · 0 评论 -
pyg对图进行可视化
import networkx as nxfrom torch_geometric.utils.convert import to_networkximport matplotlib.pyplot as pltdef draw(Data): #type(Data) = <class 'torch_geometric.data.data.Data'> G = to_networkx(Data) nx.draw(G) plt.show()有个问题,不知道为什么每次原创 2021-11-21 10:04:15 · 1218 阅读 · 1 评论 -
图神经网络未来发展的四个方向
是不是模型越深越好呢?如何平衡算法的可拓展性和图的整体性?图数据的异质性,能不能加入不同类的数据,例如图片和文本图网络在处理动态图数据方面,例如结点和边可能会消失和产生...原创 2021-11-19 15:34:15 · 684 阅读 · 0 评论 -
图神经网络会用到的库
Pytorch GeometricDeep Graph Library(DGL)原创 2021-11-19 15:07:07 · 444 阅读 · 0 评论 -
图神经网络一些模型的开源代码实现链接
ChebNet (2016) tensorflow https://github.com/mdeff/cnn_graphGCN (2017) tensorflow https://github.com/tkipf/gcnCayleyNet (2017) tensorflow https://github.com/amoliu/CayleyNetGraphSage (2017) tensorflow https://github.com/williamleif/GraphSAGEGAT (2017).原创 2021-11-19 14:55:45 · 1259 阅读 · 0 评论 -
图神经网络常用数据集总结
Citation NetworksCoraCiteseerPubmedDBLPbiochemical GraphsPPINCI-1MUTAGD&DPROTEINPTCQM9AlchemySocial NetworksRedditBlogCatalog更多详细内容见review: A comprehensive survey on Graph Neural Networks.原创 2021-11-19 14:47:13 · 1481 阅读 · 0 评论 -
谱模型和空间模型的对比-图神经网络
谱模型在图信号处理中有理论基础。我们可以通过设计新的图信号过滤器取建立新的ConvGNNs,然而,相对于谱模型,我们更偏爱空间模型,因为空间模型在效率、通用性和灵活性问题上优于谱模型。首先,谱模型比空间模型效率低。谱模型要么需要计算特征向量要么需要同时处理整张图的数据。空间模型对于结点大的图有更好的可扩展性,因为他们通过信息传播直接在图领域进行卷积,可以计算一批结点数据而不是整张图的数据。第二,谱模型是依赖于傅里叶变换的,它很难应用于新的图中,它们假定的是一个固定的图,对图结点的任何一个排列会导致基的改翻译 2021-11-17 18:05:33 · 342 阅读 · 0 评论 -
顶级图神经网络会议
§ KDD§ ICLR§ ICML§ NeurIPS§ WWW§ WSDM搜索建议:Tips: Narrow down relevant papers by searchingtitles (e.g., containing “graph”).原创 2021-11-12 17:11:59 · 2145 阅读 · 0 评论 -
cs223w课程笔记-06-GNN1
感知机就是线性转换 + 非线性函数xl+1=σ(Wlxl+bl) x^ {l + 1} = \sigma ( W_l x ^ l + b ^ l)xl+1=σ(Wlxl+bl)里面有一句话,Graph is permutation invariant.图没有标准的结点顺序我们有很多种结点的顺序方案permutaion invariant functionconsider we learn a function fff that maps a graph $G = (A, X) $.原创 2021-11-12 17:01:34 · 2051 阅读 · 0 评论 -
图神经网络-2
Tranditional featrue-based methodsGoal: Characterize the structure and position of a node in the network:node degreenode degree kvk_vkv counts the neighboring nodes without capturing their importancenode centralitynode centrality cvc_vcv takes原创 2021-10-09 16:58:06 · 80 阅读 · 0 评论 -
图神经网络笔记-1
课程学习,CS224W,b站1.question : How are these systems organized? What are their design properties?key points: behind many systems there is an intricate wiring diagram, a network, that defines the interactions between the components. we will never be able to m原创 2021-10-08 20:47:53 · 88 阅读 · 0 评论