随笔分类 - 知识图谱算法
摘要:**def get_all_clients(all_data, args):** 点击查看代码 ``` wwcnt_mat = sparse.csr_matrix((dat_values, (row_indxs, col_indxs))) ``` 这句代码创建了一个稀疏矩阵(sparse matri
阅读全文
摘要:算法的论文是《Towards Learning Instantiated Logical Rules from Knowledge Graphs》 https://arxiv.org/pdf/2003.06071.pdf 算法的源码来源于 https://github.com/irokin/GPFL
阅读全文
摘要:生成graph.db 这部分后面有时间再写 获取graph.db 读取graph的文件路径 File home = new File("data/" + dataset); File graphFile = new File(home, "databases/graph.db"); GraphDat
阅读全文
摘要:论文的阅读 来源于Modeling Relation Paths for Representation Learning of Knowledge Bases https://arxiv.org/pdf/1506.00379.pdf ###摘要部分 We argue that multiple-st
阅读全文