File size: 1,614 Bytes
672fe07
 
 
7e3690b
 
 
 
 
 
99f3c7a
7e3690b
99f3c7a
 
 
7e3690b
 
 
 
99f3c7a
7e3690b
 
 
99f3c7a
7e3690b
 
 
99f3c7a
7e3690b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
license: mit
---

**CTMatch Information Retrieval Dataset**

  This is a dataset of processed clinical trials documents, somehwat of a duplication of that found in `datasets/ir_datasets`
  except that these have been preprocessed with ctproc to clean and extract useful fields from the clinical trial documents.

  Note: They are currently saved as text files because of the downstream task in ctmatch, though in the future they may be converted to .csv.

Each .txt file has exactly 374648 lines of corresponding data:

`doc_texts.txt`
- texts extracted from processed documents using several fields including eligbility min and max age, and eligbility criteria, structured as this example from NCT00000102:
  "Inclusion Criteria: diagnosed with Congenital Adrenal Hyperplasia (CAH) normal ECG during baseline evaluation, Exclusion Criteria: history of liver disease, or elevated liver function tests history of cardiovascular disease"


`doc_categories.txt`:
- 1 x 15 vectors of somewhat arbitrarily chosen topic probabilities (softmax output) generated by zero-shot classification model, CTMatch.category_model(doc['condition']) lexically ordered as such:
cancer,cardiac,endocrine,gastrointestinal,genetic,healthy,infection,neurological,other,pediatric,psychological,pulmonary,renal,reproductive

`doc_embeddings.txt`:
- 1 x 384 vectors of embeddings taken from last hidden state of CTMatch.embedding_model.encode(doc_text) using SentenceTransformers


`index2docid.txt`:
- simple mapping of index to NCTID's for filtering/reference throughout IR program, corresponding to vector, texts representation order