Skip to Content
数据分析之图算法: 基于Spark和Neo4j
book

数据分析之图算法: 基于Spark和Neo4j

by Mark Needham, Amy E. Hodler
September 2020
Intermediate to advanced
213 pages
5h 25m
Chinese
Posts & Telecom Press
Content preview from 数据分析之图算法: 基于Spark和Neo4j
66
5
5.1
 示例数据
社交图
中心性算法可用于所有类型的图,只不过在考察动态影响和信息流方面,社交网络更容易
理解。本章的示例(见表
5-2
和表
5-3
)在一个类
Twitter
的小型图上运行。本书配套文件
包含用于创建图的节点和关系的文件。
5-2social-nodes.csv
id
Alice
Bridget
Charles
Doug
Mark
Michael
David
Amy
James
5-3social-relationships.csv
src dst relationship
Alice Bridget FOLLOWS
Alice Charles FOLLOWS
Mark Doug FOLLOWS
Bridget Michael FOLLOWS
Doug Mark FOLLOWS
Michael
Alice FOLLOWS
Alice Michael FOLLOWS
Bridget Alice FOLLOWS
Michael Bridget FOLLOWS
Charles Doug FOLLOWS
Bridget Doug FOLLOWS
Michael Doug FOLLOWS
Alice Doug FOLLOWS
Mark Alice FOLLOWS
David Amy FOLLOWS
James David FOLLOWS
5-2
展示了我们要构造的图。
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

大数据项目管理:从规划到实现

大数据项目管理:从规划到实现

Ted Malaska, Jonathan Seidman
Presto实战

Presto实战

Matt Fuller, Manfred Moser, Martin Traverso
精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly

Publisher Resources

ISBN: 9787115546678