daqh commited on
Commit
77f5d1b
·
verified ·
1 Parent(s): fa6b88d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -1
README.md CHANGED
@@ -12,6 +12,15 @@ task_categories:
12
 
13
  email-Enron is an undirected hypergraph built from the Enron email corpus, designed for higher-order network / hypergraph machine learning. In email communication, a single message can involve more than two people; this dataset captures that group interaction by modeling each email as a hyperedge connecting the sender and all recipients, while nodes represent Enron email addresses (restricted to a core set of employees).
14
 
 
 
 
 
 
 
 
 
 
15
  <div align="center">
16
  <table>
17
  <tbody>
@@ -38,6 +47,8 @@ email-Enron is an undirected hypergraph built from the Enron email corpus, desig
38
  </table>
39
  </div>
40
 
 
 
41
  The hypergraph is stored in HIF (Hypergraph Interchange Format) as a JSON object, following the schema used to exchange higher-order network data across tools. Concretely, the dataset provides the canonical HIF fields-network-type, metadata, nodes, edges, and incidences-so you can reconstruct the full incidence structure without additional processing.
42
 
43
  In addition to the raw hypergraph topology, vector features are provided for both nodes and hyperedges (in their attribute dictionaries), enabling out-of-the-box experimentation with representation learning and downstream tasks:
@@ -45,7 +56,9 @@ In addition to the raw hypergraph topology, vector features are provided for bot
45
  - Node2Vec embeddings: random-walk–based structural embeddings.
46
  - VilLain embeddings: self-supervised hypergraph representation learning via virtual label propagation.
47
 
48
- Basic statistics (as packaged here): 143 nodes, 1,512 hyperedges, 1 connected component.
 
 
49
 
50
  ```
51
  @article{Benson-2018-simplicial,
 
12
 
13
  email-Enron is an undirected hypergraph built from the Enron email corpus, designed for higher-order network / hypergraph machine learning. In email communication, a single message can involve more than two people; this dataset captures that group interaction by modeling each email as a hyperedge connecting the sender and all recipients, while nodes represent Enron email addresses (restricted to a core set of employees).
14
 
15
+ ## Usage
16
+
17
+ ```python
18
+ dataset = load_dataset("daqh/contact-high-school", split="full")
19
+ hypergraphs = [xgi.from_hif_dict(d, nodetype=int, edgetype=int) for d in dataset]
20
+ ```
21
+
22
+ ## Statistics
23
+
24
  <div align="center">
25
  <table>
26
  <tbody>
 
47
  </table>
48
  </div>
49
 
50
+ ## Content
51
+
52
  The hypergraph is stored in HIF (Hypergraph Interchange Format) as a JSON object, following the schema used to exchange higher-order network data across tools. Concretely, the dataset provides the canonical HIF fields-network-type, metadata, nodes, edges, and incidences-so you can reconstruct the full incidence structure without additional processing.
53
 
54
  In addition to the raw hypergraph topology, vector features are provided for both nodes and hyperedges (in their attribute dictionaries), enabling out-of-the-box experimentation with representation learning and downstream tasks:
 
56
  - Node2Vec embeddings: random-walk–based structural embeddings.
57
  - VilLain embeddings: self-supervised hypergraph representation learning via virtual label propagation.
58
 
59
+ Basic statistics (as packaged here): 327 nodes, 12,799 hyperedges, 1 connected component.
60
+
61
+ ## Citation
62
 
63
  ```
64
  @article{Benson-2018-simplicial,