Update README (auto from push_data.py)
Browse files
README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags: [graph, benchmark, fraud-detection, graph-ml]
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# GraphTestbed Datasets
|
| 7 |
+
|
| 8 |
+
Public train/val/test features for the four [GraphTestbed](https://github.com/zhuconv/GraphTestbed) tasks. Test labels are held privately by the scoring server.
|
| 9 |
+
|
| 10 |
+
## Why a single repo
|
| 11 |
+
|
| 12 |
+
GLUE-style: one repo, one subdir per task, one README. Adding a new task is a `git push` of one folder, not a new HF repo.
|
| 13 |
+
|
| 14 |
+
## Subsets
|
| 15 |
+
|
| 16 |
+
| Task | id col | metric | rows (train/val/test) | Source |
|
| 17 |
+
| --- | --- | --- | --- | --- |
|
| 18 |
+
| `arxiv-citation` | `Paper_ID` | `auc_roc` | see csv | Predict whether each arXiv paper receives ≥1 citation within |
|
| 19 |
+
| `figraph` | `nodeID` | `auc_roc` | see csv | FiGraph anomaly detection on listed companies (~4 |
|
| 20 |
+
| `ibm-aml` | `transaction_id` | `f1` | see csv | Predict whether each transaction is part of a money-launderi |
|
| 21 |
+
| `ieee-fraud-detection` | `TransactionID` | `auc_roc` | see csv | Predict the probability that an online transaction is fraudu |
|
| 22 |
+
|
| 23 |
+
## Use
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
from huggingface_hub import hf_hub_download
|
| 27 |
+
import pandas as pd
|
| 28 |
+
|
| 29 |
+
p = hf_hub_download(
|
| 30 |
+
'lanczos/graphtestbed-data', 'arxiv-citation/train_features.csv',
|
| 31 |
+
repo_type='dataset',
|
| 32 |
+
)
|
| 33 |
+
train = pd.read_csv(p)
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
**Contract:** treat upstream sources (e.g. relbench, FiGraph github, IBM AML kaggle) as out-of-bounds for evaluation purposes. Train + HPO on what's in this repo only.
|
| 37 |
+
|
| 38 |
+
Test labels are scored against a private companion repo by the GraphTestbed server: <https://lanczos-graphtestbed.hf.space/>.
|