rishabh-ranjan commited on
Commit
ed60f2c
·
verified ·
1 Parent(s): c4be460

Add ctu-bupa

Browse files
ctu-bupa/README.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - relbench
4
+ - relational-deep-learning
5
+ pretty_name: ctu-bupa
6
+ ---
7
+
8
+ # ctu-bupa
9
+
10
+ Evaluation of patients on liver disorder. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/).
11
+
12
+ ## Schema
13
+
14
+ ![schema diagram](schema.svg)
15
+
16
+ Open [`schema.svg`](schema.svg) for a zoomable view: each table lists all of its columns and types, with primary keys, foreign keys, and the foreign-key edges between tables.
17
+
18
+ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split).
19
+
20
+ ## Tasks
21
+
22
+ | task | kind | type | description |
23
+ |---|---|---|---|
24
+ | `bupa-original` | external | binary_classification | Predict the binary `arg2` label of each `bupa`. (random split) |
25
+
26
+ ## Loading
27
+
28
+ ```python
29
+ import relbench
30
+ ds = relbench.load_dataset("ctu-bupa")
31
+ task = relbench.load_task("ctu-bupa", "<task>")
32
+ ```
33
+
34
+ Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md).
ctu-bupa/db/alkphos.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9168327ded445de83e57b9e2868e52179411a4aa5f3b7b79b2648fd60c973eb2
3
+ size 8703
ctu-bupa/db/bupa.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:836cc3f24f417fc973f7407b2ef9a739386e2797abd710bff0d7cd50ac9e5756
3
+ size 8766
ctu-bupa/db/bupa_name.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47a0a9b35a92b2df3c11bd9c083e13b78efc1d491a8655bbd5f65e72f988a601
3
+ size 5157
ctu-bupa/db/bupa_type.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2dfedbfd95c48624541df5c7bf2803966469405960e04a72853042e2d3821a3
3
+ size 1686
ctu-bupa/db/drinks.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:add247deb7d6c41e150d11a40d42bde7e5070adc1ce1ec93613a43252d903e3e
3
+ size 8338
ctu-bupa/db/gammagt.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0ba3ba5b97e277dc34414cdafc75bf8f7782fb338ca5071aa3d62b790b1cc9f
3
+ size 8767
ctu-bupa/db/mcv.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:470c007fff49359909b724c95a5de9452993ceb2e11bcb102bdb222c5a2a1760
3
+ size 8403
ctu-bupa/db/sgot.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22f089bb94fec87a804827deaba873f7dd807a0777587c30e2ed851a828c383e
3
+ size 8533
ctu-bupa/db/sgpt.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1051194aa22af5d7d41c90be99b2b0bb12460e6a1fd4ede3a49c0ea2caf99011
3
+ size 8659
ctu-bupa/manifest.yaml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: ctu-bupa
2
+ manifest_version: 1
3
+ description: Evaluation of patients on liver disorder. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/).
4
+ val_timestamp: '2262-04-11'
5
+ test_timestamp: '2262-04-11'
6
+ tables:
7
+ mcv:
8
+ pkey: __PK__
9
+ time_col: null
10
+ fkeys:
11
+ FK_bupa_name_arg1: bupa_name
12
+ bupa_type:
13
+ pkey: __PK__
14
+ time_col: null
15
+ fkeys: {}
16
+ sgot:
17
+ pkey: __PK__
18
+ time_col: null
19
+ fkeys:
20
+ FK_bupa_name_arg1: bupa_name
21
+ bupa:
22
+ pkey: __PK__
23
+ time_col: null
24
+ fkeys:
25
+ FK_bupa_name_arg1: bupa_name
26
+ FK_bupa_type_arg2: bupa_type
27
+ drinks:
28
+ pkey: __PK__
29
+ time_col: null
30
+ fkeys:
31
+ FK_bupa_name_arg1: bupa_name
32
+ sgpt:
33
+ pkey: __PK__
34
+ time_col: null
35
+ fkeys:
36
+ FK_bupa_name_arg1: bupa_name
37
+ gammagt:
38
+ pkey: __PK__
39
+ time_col: null
40
+ fkeys:
41
+ FK_bupa_name_arg1: bupa_name
42
+ alkphos:
43
+ pkey: __PK__
44
+ time_col: null
45
+ fkeys:
46
+ FK_bupa_name_arg1: bupa_name
47
+ bupa_name:
48
+ pkey: __PK__
49
+ time_col: null
50
+ fkeys: {}
ctu-bupa/schema.svg ADDED
ctu-bupa/tasks/bupa-original/manifest.yaml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ name: bupa-original
2
+ kind: external
3
+ task_type: binary_classification
4
+ description: Predict the binary `arg2` label of each `bupa`. (random split)
5
+ entity_table: bupa
6
+ entity_col: __PK__
7
+ target_col: arg2
8
+ timedelta: 0 days
9
+ manifest_version: 1
ctu-bupa/tasks/bupa-original/test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f807ed8cb482c9037d5d81ebe2b2468188c534b64b82fe27975d68fc3ff949ab
3
+ size 1939
ctu-bupa/tasks/bupa-original/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:775772962a246bb4df33d4a9d2730c70c0eeb1e1ba91ba009cae57256f588a43
3
+ size 3236
ctu-bupa/tasks/bupa-original/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a30a61f8dd3210203a9ba7032465165b16ab02c781f68e3f6d81963eb33c74a
3
+ size 1937