Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
src
int64
0
8.4k
dst
int64
0
8.4k
919
0
925
0
1,559
0
1,665
0
1,865
0
1,888
0
2,465
0
2,766
0
2,975
0
3,548
0
4,025
0
4,339
0
4,536
0
4,695
0
5,499
0
5,853
0
6,066
0
6,098
0
6,841
0
7,080
0
7,236
0
7,558
0
7,574
0
8,069
0
8,301
0
36
1
99
1
131
1
225
1
283
1
631
1
747
1
872
1
923
1
1,126
1
1,273
1
1,309
1
1,966
1
2,198
1
2,235
1
2,414
1
2,468
1
2,736
1
2,849
1
2,988
1
3,283
1
3,378
1
3,411
1
3,527
1
3,628
1
3,721
1
3,918
1
3,934
1
3,943
1
3,959
1
4,152
1
4,265
1
4,345
1
4,418
1
4,458
1
4,544
1
4,589
1
4,801
1
5,706
1
6,473
1
6,475
1
6,531
1
6,545
1
6,556
1
6,727
1
6,840
1
6,881
1
6,938
1
7,018
1
7,129
1
7,246
1
7,541
1
7,808
1
7,969
1
8,215
1
176
2
212
2
451
2
1,226
2
1,299
2
1,552
2
2,018
2
2,154
2
2,358
2
3,030
2
3,207
2
4,406
2
5,098
2
5,550
2
5,629
2
6,008
2
6,067
2
6,491
2
6,553
2
6,746
2
End of preview. Expand in Data Studio

Weibo (graph anomaly detection)

Weibo users connected by shared hashtag activity, with labeled suspicious accounts. An organic (non-injected) anomaly dataset used throughout the BOND benchmark line of work.

Nodes 8,405
Node features 400
Edges 407,963
Outliers 347 (4.1%)
Label type proxy
Label source suspicious-account labels via the BOND benchmark

Files. nodes.parquet (node_id, feat_*, label, split masks where available) and edges.parquet (src, dst, the edge list as shipped upstream; symmetrize for undirected use). Ships the upstream single split as train_mask_0, val_mask_0, test_mask_0.

A provenance note this card refuses to paper over: the upstream README table lists 868 outliers (10.3%) for Weibo, but the shipped weibo.pt file contains 347 (4.1%). The numbers on this card describe the actual file (sha256 of the source zip: c4a5fe4c...). If you compare against papers reporting the 10.3% variant, you are not using the same labels.

Load

import pandas as pd

nodes = pd.read_parquet("hf://datasets/JaySuryavanshi/graph-anomaly-weibo/nodes.parquet")
edges = pd.read_parquet("hf://datasets/JaySuryavanshi/graph-anomaly-weibo/edges.parquet")

As a graph, with graphspot (pip install graphspot):

import numpy as np, scipy.sparse as sp, graphspot
from graphspot.detectors import XGBGraph

n = len(nodes)
adj = sp.csr_matrix((np.ones(len(edges)), (edges.src, edges.dst)), shape=(n, n))
g = graphspot.Graph(adj=adj, x=nodes.filter(like="feat_").to_numpy(),
                    node_labels=nodes.label.to_numpy())

Provenance

Mirrored unmodified (beyond format conversion to parquet) from pygod-team/data (MIT). Conversion is scripted and deterministic; label counts above are computed from the files in this repository, not copied from upstream docs.

Citation

@inproceedings{liu2022bond,
  title={{BOND}: Benchmarking unsupervised outlier node detection on static attributed graphs},
  author={Liu, Kay and Dou, Yingtong and Zhao, Yue and Ding, Xueying and Hu, Xiyang and Zhang, Ruitong and Ding, Kaize and Chen, Canyu and Peng, Hao and Shu, Kai and Sun, Lichao and Li, Jundong and Chen, George H. and Jia, Zhihao and Yu, Philip S.},
  booktitle={Advances in Neural Information Processing Systems},
  year={2022}
}
Downloads last month
38