apsora commited on
Commit
1d06bc3
Β·
verified Β·
1 Parent(s): a6c9b9a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +16 -12
README.md CHANGED
@@ -1,12 +1,16 @@
1
- ---
2
- title: Lego-tabular GUI
3
- emoji: 😻
4
- colorFrom: yellow
5
- colorTo: blue
6
- sdk: gradio
7
- sdk_version: 5.47.2
8
- app_file: app.py
9
- pinned: false
10
- ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
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.