SauravMaheshkar commited on
Commit
af5dc77
1 Parent(s): ccbbdae

feat: add data objects

Browse files
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ **/.DS_Store
processed/inductive/test_df.csv ADDED
The diff for this file is too large to render. See raw diff
 
processed/inductive/train_df.csv ADDED
The diff for this file is too large to render. See raw diff
 
processed/inductive/val_df.csv ADDED
The diff for this file is too large to render. See raw diff
 
processed/transductive/test_df.csv ADDED
The diff for this file is too large to render. See raw diff
 
processed/transductive/train_df.csv ADDED
The diff for this file is too large to render. See raw diff
 
processed/transductive/val_df.csv ADDED
The diff for this file is too large to render. See raw diff
 
raw/DATA-DESCRIPTION.txt ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Each timestamped simplex dataset consists of three files:
2
+ 1. dataset-nverts.txt
3
+ 2. dataset-simplices.txt
4
+ 3. dataset-times.txt
5
+
6
+ All three files represent a vector of integers. There is one integer per line.
7
+
8
+ The first file contains the number of vertices within each simplex. The second
9
+ file is a contiguous list of the nodes comprising the simplices, where the
10
+ ordering of the simplices is the same as in the first file. The third file
11
+ contains the timestamps for each simplex. The length of the vectors in the first
12
+ and third files is the same, and the length of the vector in the second file is
13
+ the sum of the integers in the first file.
14
+
15
+ Consider an example dataset consisting of three simplices:
16
+ 1. {1, 2, 3} at time 10
17
+ 2. {2, 4} at time 15.
18
+ 3. {1, 3, 4, 5} at time 21.
19
+ Then files would look as follows:
20
+
21
+ example-nverts.txt
22
+ 3
23
+ 2
24
+ 4
25
+
26
+ example-simplices.xt
27
+ 1
28
+ 2
29
+ 3
30
+ 2
31
+ 4
32
+ 1
33
+ 3
34
+ 4
35
+ 5
36
+
37
+ example-times.txt
38
+ 10
39
+ 15
40
+ 21
41
+
42
+
43
+
44
+ For problems, please contact Austin Benson at arb@cs.cornell.edu.
raw/NDC-substances-full-node-labels.txt ADDED
The diff for this file is too large to render. See raw diff
 
raw/NDC-substances-full-nverts.txt ADDED
The diff for this file is too large to render. See raw diff
 
raw/NDC-substances-full-simplex-labels.txt ADDED
The diff for this file is too large to render. See raw diff
 
raw/NDC-substances-full-simplices.txt ADDED
The diff for this file is too large to render. See raw diff
 
raw/NDC-substances-full-times.txt ADDED
The diff for this file is too large to render. See raw diff
 
raw/README.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This dataset consists of the substances that make up drugs in the National Drug
2
+ Code Directory maintained by the Food and Drug Administration. The original data
3
+ was downloaded from https://www.fda.gov/Drugs/InformationOnDrugs/ucm142438.htm.
4
+ Each simplex corresponds to an NDC code for a drug, where the nodes are the
5
+ substances that make up that drug. Timestamps are in days and represent when the
6
+ drug was first marketed.
7
+
8
+ The file NDC-substances-node-labels.txt maps the node IDs to the substances.
9
+
10
+ The nth line in NDC-classes-simplex-labels.txt is the name of the drug
11
+ corresponding to the nth simplex.