add dgraph_fin data
Browse files
data/dgraph_fin/.ipynb_checkpoints/Readme-checkpoint.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Description of DGraphFin datafile.
|
| 2 |
+
|
| 3 |
+
File **dgraphfin.npz** including below keys:
|
| 4 |
+
|
| 5 |
+
- **x**: 17-dimensional node features.
|
| 6 |
+
- **y**: node label.
|
| 7 |
+
There four classes. Below are the nodes counts of each class.
|
| 8 |
+
0: 1210092
|
| 9 |
+
1: 15509
|
| 10 |
+
2: 1620851
|
| 11 |
+
3: 854098
|
| 12 |
+
Nodes of Class 1 are fraud users and nodes of 0 are normal users, and they the two classes to be predicted.
|
| 13 |
+
Nodes of Class 2 and Class 3 are background users.
|
| 14 |
+
|
| 15 |
+
- **edge_index**: shape (4300999, 2).
|
| 16 |
+
Each edge is in the form (id_a, id_b), where ids are the indices in x.
|
| 17 |
+
|
| 18 |
+
- **edge_type**: 11 types of edges.
|
| 19 |
+
|
| 20 |
+
- **edge_timestamp**: the desensitized timestamp of each edge.
|
| 21 |
+
|
| 22 |
+
- **train_mask, valid_mask, test_mask**:
|
| 23 |
+
Nodes of Class 0 and Class 1 are randomly splitted by 70/15/15.
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
|
data/dgraph_fin/Readme.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Description of DGraphFin datafile.
|
| 2 |
+
|
| 3 |
+
File **dgraphfin.npz** including below keys:
|
| 4 |
+
|
| 5 |
+
- **x**: 17-dimensional node features.
|
| 6 |
+
- **y**: node label.
|
| 7 |
+
There four classes. Below are the nodes counts of each class.
|
| 8 |
+
0: 1210092
|
| 9 |
+
1: 15509
|
| 10 |
+
2: 1620851
|
| 11 |
+
3: 854098
|
| 12 |
+
Nodes of Class 1 are fraud users and nodes of 0 are normal users, and they the two classes to be predicted.
|
| 13 |
+
Nodes of Class 2 and Class 3 are background users.
|
| 14 |
+
|
| 15 |
+
- **edge_index**: shape (4300999, 2).
|
| 16 |
+
Each edge is in the form (id_a, id_b), where ids are the indices in x.
|
| 17 |
+
|
| 18 |
+
- **edge_type**: 11 types of edges.
|
| 19 |
+
|
| 20 |
+
- **edge_timestamp**: the desensitized timestamp of each edge.
|
| 21 |
+
|
| 22 |
+
- **train_mask, valid_mask, test_mask**:
|
| 23 |
+
Nodes of Class 0 and Class 1 are randomly splitted by 70/15/15.
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
|
data/dgraph_fin/__MACOSX/._edge_index.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32a45db183124920be1c1cab5c196129b9b77328f300d944c828f739e1893224
|
| 3 |
+
size 541
|
data/dgraph_fin/__MACOSX/._edge_time.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6aeb1e26e9d84bc639a50751732a71c074014f773ca92e071d4faf1325c2c75c
|
| 3 |
+
size 540
|
data/dgraph_fin/dgraphfin.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95470dab2c48523f7118a92204c090de37a957bb053bd5841c7bdba09558ba85
|
| 3 |
+
size 680317982
|
data/dgraph_fin/edge_index.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fb3def77bf5038caac7f91df112d415c65af92ddb9add772dc26aca23b172bb
|
| 3 |
+
size 1932480
|
data/dgraph_fin/edge_time.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d89f2594c54511b74ba919f6840e5297def09e690ef53d1af50c6edd57043d4f
|
| 3 |
+
size 966304
|