软件依赖图的社区检测算法分析
1. 示例图数据:软件依赖图
依赖图非常适合展示社区检测算法之间有时很微妙的差异,因为它们往往更具连接性和层次性。这里的示例是关于Python库之间依赖关系的图,不过依赖图在从软件到电网等各个领域都有应用。开发者使用这种软件依赖图来跟踪软件项目中的传递依赖关系和冲突。可以从对应的GitHub仓库下载节点和文件。
以下是节点数据 sw-nodes.csv 示例:
| id |
| — |
| six |
| pandas |
| numpy |
| python-dateutil |
| pytz |
| pyspark |
| matplotlib |
| spacy |
| py4j |
| jupyter |
| jpy-console |
| nbconvert |
| ipykernel |
| jpy-client |
| jpy-core |
以下是关系数据 sw-relationships.csv 示例:
| src | dst | relationship |
| — | — | — |
| pandas | numpy | DEPENDS_ON |
| pandas | pytz | DEPENDS_ON |
| pandas | python-dateutil | DEPENDS_ON |
| python-dateutil | six | DE
超级会员免费看
订阅专栏 解锁全文
18万+

被折叠的 条评论
为什么被折叠?



