Spaces:
Sleeping
Sleeping
File size: 1,096 Bytes
3a78235 4d1db89 3fc7745 4d1db89 3a78235 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
---
title: Book Genre Predictor
emoji: 📚
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: "4.31.5"
app_file: app.py
pinned: false
---
# Predict Book Genre from Physical Features — AutoGluon + Gradio
This Space wraps a class-trained AutoGluon `TabularPredictor` with a Gradio UI.
## Dataset
- Zion's Book tabular dataset (Hugging Face: its-zion-18/Books-tabular-dataset)
- Features: Height, Width, Depth, Page Count
- Target: Genre (5 classes)
## Training
- Framework: AutoGluon Tabular
- Preset: best_quality
- Time Limit: 300 seconds
- Best model: WeightedEnsemble_L2
- Evaluation: Accuracy 1.0, Weighted F1 1.0 (on original split)
## Limitations
- Very small dataset (30 eval samples)
- Augmented synthetic data may not generalize well
-
## References
- [Original dataset](https://huggingface.co/datasets/its-zion-18/Books-tabular-dataset)
- [Classmate’s model](https://huggingface.co/FaiyazAzam/24679-tabular-autolguon-predictor)
## Usage
Adjust the sliders and number field to input book dimensions and page count.
The app will output predicted genre probabilities.
|