Spaces:
Sleeping
Sleeping
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,12 +1,16 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# π§± LEGO Brick Classifier β Gradio Space
|
| 2 |
+
|
| 3 |
+
This Space wraps a trained **AutoGluon** tabular model that classifies LEGO pieces as **Standard**, **Flat**, or **Sloped** from four inputs: **Length, Height, Width, Studs**.
|
| 4 |
+
|
| 5 |
+
- **Model repo:** `Iris314/classical-automl-model` (uses `lego_predictor_dir.zip`)
|
| 6 |
+
- **Dataset:** `aedupuga/lego-sizes`
|
| 7 |
+
- **Model type:** AutoML ensemble (best = LightGBM)
|
| 8 |
+
- **Purpose:** Coursework demo for classical ML + Gradio
|
| 9 |
+
|
| 10 |
+
## How it works
|
| 11 |
+
- Downloads the predictor from the model repo via `huggingface_hub`.
|
| 12 |
+
- Renames UI features to the training schema: `Length β Max Length (cm)`, `Height β Max Height (cm)`, `Width β Width (cm)`, keeps `Studs`.
|
| 13 |
+
- Runs `predict_proba` and shows a top-3 probability label.
|
| 14 |
+
|
| 15 |
+
## Notes
|
| 16 |
+
- This is a teaching demo; dataset is small/synthetic. Not for production.
|