File size: 1,970 Bytes
fc3068e
 
 
39ac511
bc734ef
 
8fd8560
 
 
 
bc734ef
 
39ac511
 
3c3cf0b
 
1719aa9
 
 
3c3cf0b
39ac511
27f5946
 
 
8fd8560
27f5946
 
 
 
8fd8560
27f5946
 
 
8fd8560
27f5946
 
 
8fd8560
27f5946
 
8fd8560
27f5946
 
 
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
license: mit
---

**CTMatch Dataset**

This is a combied set of 2 labelled datasets of:
`topic (patient descriptions), doc (clinical trials documents - selected fields), and label ({0, 1, 2})` triples, in jsonl format. 

(Somewhat of a duplication of some of the `ir_dataset` also available on HF.)

These have been processed using ctproc, and in this state can be used by various tokenizers for fine-tuning (see ctmatch for examples).


These 2 datasets contain no patient identifying information are openly available in raw forms:

#### TREC: http://www.trec-cds.org/2021.html

#### CSIRO: https://data.csiro.au/collection/csiro:17152



Additionally, for the IR task, other feature representations of the documents have been created, each of these has exactly 374648 lines of corresponding data:

`doc_texts.csv`
- 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.csv`:
- 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.csv`:
- 1 x 384 vectors of embeddings taken from last hidden state of CTMatch.embedding_model.encode(doc_text) using SentenceTransformers


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

**see repo for more information**:
https://github.com/semajyllek/ctmatch