Update README.md
Browse files
README.md
CHANGED
|
@@ -14,13 +14,42 @@ tags:
|
|
| 14 |
- geotechnics
|
| 15 |
---
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
| 18 |
- Clay (T)
|
| 19 |
- Silt (U)
|
| 20 |
- Sand (S)
|
| 21 |
- Gravel (G)
|
| 22 |
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
- geotechnics
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# Core Sample Main Fraction Classifier
|
| 18 |
+
|
| 19 |
+
This multi-label classification model was fine-tuned for automated visual analysis of soil core samples, and trained / validated / tested on the `grano1/core_sample_image_data` dataset available via the HuggingFace eco-system. The model aims to predict one of the following four class labels from cropped core sample images (300x300 pixels):
|
| 20 |
- Clay (T)
|
| 21 |
- Silt (U)
|
| 22 |
- Sand (S)
|
| 23 |
- Gravel (G)
|
| 24 |
|
| 25 |
+
## Metrics
|
| 26 |
+
|
| 27 |
+
The following table summarizes selected metrics quantifying the model performance on the test set:
|
| 28 |
+
|
| 29 |
+
| Metric | Value |
|
| 30 |
+
|------------------------------------|--------|
|
| 31 |
+
| Categorical Cross-Entropy Loss | 0.0998 |
|
| 32 |
+
| Accuracy | 0.9606 |
|
| 33 |
+
| F1-score (macro, aggregated) | 0.8195 |
|
| 34 |
+
| F1-score (weighted, aggregated) | 0.9597 |
|
| 35 |
+
|
| 36 |
+
## Hyperparameters
|
| 37 |
+
|
| 38 |
+
The following table summarizes selected hyperparameters used for training the model:
|
| 39 |
+
|
| 40 |
+
| Metric | Value |
|
| 41 |
+
|---------------------------|----------|
|
| 42 |
+
| Batch size | 32 |
|
| 43 |
+
| Optimizer | AdamW |
|
| 44 |
+
| Warm-up ratio | 0.1 |
|
| 45 |
+
| Metric for best model | Cat. CE |
|
| 46 |
+
| Early stopping patience | 3 |
|
| 47 |
+
|
| 48 |
+
## Usage
|
| 49 |
+
|
| 50 |
+
```python
|
| 51 |
+
|
| 52 |
+
## ✨ Citation
|
| 53 |
+
If you use this model, please cite:
|
| 54 |
+
|
| 55 |
+
@thesis{Granitzer2025, author = {Andreas-Nizar Granitzer}, title = {Data-centric core sample classification and constitutive model selection in geotechnics}, school = {University of Applied Sciences Kufstein}, year = {2025}, type = {Master's thesis} }
|