Update README.md
Browse files
README.md
CHANGED
|
@@ -7,4 +7,33 @@ language:
|
|
| 7 |
pipeline_tag: image-classification
|
| 8 |
tags:
|
| 9 |
- medical
|
| 10 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
pipeline_tag: image-classification
|
| 8 |
tags:
|
| 9 |
- medical
|
| 10 |
+
---
|
| 11 |
+
# MultiCaReClassifier for Medical Image Classification
|
| 12 |
+
|
| 13 |
+
The MultiCaReClassifier is a model ensemble used for multilabel medical image classification. It includes classes such as:
|
| 14 |
+
- image_type: 'radiology', 'pathology', 'endoscopy', 'ophthalmic_imaging', 'medical_photograph', 'electrography', 'chart'.
|
| 15 |
+
- image_subtype: 'ultrasound', 'x_ray', 'ct', 'mri', 'h&e', 'immunostaining', 'fundus_photograph', 'ekg', 'eeg', etc.
|
| 16 |
+
- radiology_region: 'thorax', 'head', 'abdomen', 'upper_limb', 'lower_limb', etc.
|
| 17 |
+
- radiology_view: 'frontal', 'sagittal', 'axial', 'oblique', etc.
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
1. Clone this repo:
|
| 21 |
+
```
|
| 22 |
+
!git clone https://huggingface.co/mauro-nievoff/MultiCaReClassifier
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
2. Change the directory:
|
| 26 |
+
```
|
| 27 |
+
%cd /content/MultiCaReClassifier
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
3. Import the MultiCaReClassifier class:
|
| 31 |
+
```
|
| 32 |
+
from MultiCaReClassifier.pipeline import *
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
4. Get the predictions for a given image folder:
|
| 36 |
+
```
|
| 37 |
+
predictions = MultiCaReClassifier(image_folder = '/content/img')
|
| 38 |
+
predictions.data.head()
|
| 39 |
+
```
|