Datasets:

ArXiv:
zzh99 timeseed commited on
Commit
b69ac19
·
verified ·
1 Parent(s): 7a928d1

Update README.md (#11)

Browse files

- Update README.md (e49eaa19fbcc45285f9da0fa0791686fe0376550)


Co-authored-by: zhang <timeseed@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -20,8 +20,8 @@ cat MIMIC-IR.tar.gz.part* > MIMIC-IR.tar.gz
20
  tar xvzf MIMIC-IR.tar.gz
21
  ```
22
 
 
23
 
24
- A simple demo to read the data (take CTRATE-IR for instance):
25
  ```python
26
  import pandas as pd
27
  import numpy as np
@@ -33,7 +33,6 @@ sample_B_idx = 20
33
  df = pd.read_csv(f'CTRATE-IR/anatomy/train_entity/{anatomy_condition}.csv')
34
  id_ls = df.iloc[:,0].tolist()
35
  findings_ls = df.iloc[:,1].tolist()
36
-
37
  simi_tab = np.load(f'CTRATE-IR/anatomy/train_ratescore/{anatomy_condition}.npy')
38
 
39
  # # MIMIC-IR
 
20
  tar xvzf MIMIC-IR.tar.gz
21
  ```
22
 
23
+ This example demonstrates how to read data from either the MIMIC-IR or CTRATE-IR datasets. You can switch between datasets by commenting/uncommenting the relevant sections.
24
 
 
25
  ```python
26
  import pandas as pd
27
  import numpy as np
 
33
  df = pd.read_csv(f'CTRATE-IR/anatomy/train_entity/{anatomy_condition}.csv')
34
  id_ls = df.iloc[:,0].tolist()
35
  findings_ls = df.iloc[:,1].tolist()
 
36
  simi_tab = np.load(f'CTRATE-IR/anatomy/train_ratescore/{anatomy_condition}.npy')
37
 
38
  # # MIMIC-IR