Update README.md
Browse files
README.md
CHANGED
@@ -60,10 +60,10 @@ import datasets
|
|
60 |
from datasets import load_dataset
|
61 |
|
62 |
# Example 1: Load dataset with default settings
|
63 |
-
dataset = load_dataset('thbndi/Mimic4Dataset',
|
64 |
|
65 |
# Example 2: Load dataset with custom settings
|
66 |
-
dataset = load_dataset('thbndi/Mimic4Dataset',
|
67 |
```
|
68 |
|
69 |
Please note that the provided examples are for illustrative purposes only, and you should adjust the paths and settings based on your actual dataset and specific use case.
|
|
|
60 |
from datasets import load_dataset
|
61 |
|
62 |
# Example 1: Load dataset with default settings
|
63 |
+
dataset = load_dataset('thbndi/Mimic4Dataset', "Mortality", mimic_path="/path/to/mimic_data")
|
64 |
|
65 |
# Example 2: Load dataset with custom settings
|
66 |
+
dataset = load_dataset('thbndi/Mimic4Dataset', "Phenotype", mimic_path="/path/to/mimic_data", config_path="/path/to/config_file", encoding="aggreg", generate_cohort=False, val_size=0.2, cache_dir="/path/to/cache_dir")
|
67 |
```
|
68 |
|
69 |
Please note that the provided examples are for illustrative purposes only, and you should adjust the paths and settings based on your actual dataset and specific use case.
|