tabularappspace / README.md
ysakhale's picture
Update README.md
3fc7745 verified

A newer version of the Gradio SDK is available: 6.2.0

Upgrade
metadata
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

Usage

Adjust the sliders and number field to input book dimensions and page count. The app will output predicted genre probabilities.