Spaces:
Sleeping
Sleeping
| 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. | |