Update BuilderConfig
Browse files
README.md
CHANGED
|
@@ -38,11 +38,19 @@ This [repository](https://github.com/PathologyDataScience/BCSS) contains the nec
|
|
| 38 |
## Accessing the Data
|
| 39 |
|
| 40 |
|
| 41 |
-
You can load the NuCLS dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
```python
|
| 44 |
from datasets import load_dataset
|
| 45 |
-
dataset = load_dataset("minhanhto09/NuCLS_dataset")
|
| 46 |
```
|
| 47 |
For detailed usage instructions, please refer to this documentation.
|
| 48 |
|
|
@@ -107,7 +115,7 @@ The dataset is divided into the following folds:
|
|
| 107 |
|
| 108 |
- `train_fold_999`: 21 examples
|
| 109 |
- `test_fold_999`: 7 examples
|
| 110 |
-
|
| 111 |
|
| 112 |
## Usage Example
|
| 113 |
|
|
|
|
| 38 |
## Accessing the Data
|
| 39 |
|
| 40 |
|
| 41 |
+
You can load the NuCLS dataset using the `datasets` library in Python. Depending on your needs, you can choose to load the full dataset or its smaller subset.
|
| 42 |
+
|
| 43 |
+
To load the full dataset:
|
| 44 |
+
|
| 45 |
+
```python
|
| 46 |
+
from datasets import load_dataset
|
| 47 |
+
dataset = load_dataset("minhanhto09/NuCLS_dataset", name="default")
|
| 48 |
+
```
|
| 49 |
+
To see a smaller subset of the dataset:
|
| 50 |
|
| 51 |
```python
|
| 52 |
from datasets import load_dataset
|
| 53 |
+
dataset = load_dataset("minhanhto09/NuCLS_dataset", name="debug")
|
| 54 |
```
|
| 55 |
For detailed usage instructions, please refer to this documentation.
|
| 56 |
|
|
|
|
| 115 |
|
| 116 |
- `train_fold_999`: 21 examples
|
| 117 |
- `test_fold_999`: 7 examples
|
| 118 |
+
Note that the debug configuration utilizes these particular folds `train_fold_999` and `test_fold_999` due to their smaller numbers of examples.
|
| 119 |
|
| 120 |
## Usage Example
|
| 121 |
|