Dataset Viewer
Auto-converted to Parquet Duplicate
Length_cm
float64
18.5
26.8
Width_cm
float64
13.1
17.6
Thickness_cm
float64
1.2
4.8
Pages
int64
120
784
Hardcover
stringclasses
2 values
Cover_Color
stringclasses
9 values
Is_Textbook
stringclasses
2 values
24.1
16.3
3.8
737
No
Yellow
Yes
26.1
17.5
3.1
768
Yes
Brown
Yes
18.5
15.7
4.8
633
Yes
Yellow
Yes
20
16.8
4.2
656
Yes
Blue
Yes
25.4
17
1.8
195
Yes
Red
No
20.1
13.5
1.6
263
Yes
Black
Yes
24
13.9
2.1
549
No
Blue
Yes
23.6
16.3
3.6
784
Yes
Black
No
26.8
15.9
4.5
253
No
Blue
Yes
23.5
14.3
3.9
416
Yes
Yellow
Yes
21.8
17.3
3.2
147
No
Orange
Yes
25.8
17.6
3.6
345
No
White
Yes
22.6
13.4
3.9
348
Yes
Orange
Yes
23.4
16.6
4
242
Yes
Brown
Yes
20.2
14.8
4.4
493
Yes
Orange
Yes
21.7
13.7
3.9
546
Yes
Purple
No
26.2
14.3
3.2
724
No
Blue
Yes
26.5
15.9
3.3
768
Yes
Purple
Yes
24
13.6
4.7
614
Yes
Purple
No
20.1
13.3
3
561
No
White
No
20.3
15.6
2.8
409
No
Orange
No
24
15.1
1.8
345
No
Orange
No
24.1
13.1
2.1
386
No
Purple
Yes
19.5
16.7
2.6
658
No
Black
Yes
19
17.3
3.7
213
No
Yellow
No
19.4
17.4
2.2
606
No
Yellow
No
24.1
14.1
2
149
No
White
Yes
25.1
13.2
1.2
120
Yes
Green
No
23.1
14.5
2.1
567
No
Purple
Yes
22.2
16.1
3.6
531
Yes
Red
Yes

language: en tags: - tabular - education - books task_categories: - tabular-classification

📄 Model Card: Books Tabular Dataset

1. Purpose

This dataset was created for educational purposes in the context of Homework 1 (Dealing with Data). The goal is to provide a small but structured tabular dataset that allows students to practice working with real-world features, preprocessing, augmentation, and uploading to Hugging Face. The dataset supports tasks such as classification, exploratory data analysis (EDA), and simple modeling.


2. Composition

  • Domain: Books (physical objects collected by the student).
  • Samples: 30 unique real-world books.
  • Features (≥5):
    • Length_cm (continuous, cm)
    • Width_cm (continuous, cm)
    • Thickness_cm (continuous, cm)
    • Pages (integer)
    • Hardcover (categorical: Yes/No)
    • Cover_Color (categorical: dominant color)
  • Target (binary):
    • Is_Textbook = {Yes, No}

3. Collection Process

  • Source: All samples were collected manually from physical books available to the student.
  • Method: Each book was measured with a ruler (length, width, thickness) and checked for number of pages. Hardcover status and cover color were recorded by visual inspection.
  • Uniqueness: Each of the 30 samples corresponds to a different book; no duplicates are present.

4. Preprocessing & Augmentation

  • Preprocessing:
    • Units standardized to centimeters for dimensions.
    • Pages recorded as integers.
    • Colors normalized to a small set of categorical labels (e.g., red, blue, green).
  • Augmentation:
    • Synthetic data (≥300 rows) was generated by applying label-preserving transformations, such as:
      • Adding Gaussian noise to continuous features.
      • Slight perturbations to page counts.
      • Resampling categorical features with the same distribution.
    • Augmented samples maintain the same schema as the original split.

5. Labels

  • Target Variable: Is_Textbook
  • Type: Binary classification
  • Distribution: Labels reflect the real-world sample distribution; balance was not artificially enforced.

6. Splits

  • Original split: 30 manually measured samples (original)
  • Augmented split: 300 synthetically generated samples (augmented)

7. Exploratory Data Analysis (EDA)

Summary statistics for the 30 original samples:

Feature Mean Std Min Max
Length_cm ~21.3 ~3.2 15.0 28.0
Width_cm ~14.6 ~2.5 10.0 19.0
Thickness_cm ~2.4 ~1.1 0.8 5.0
Pages ~280 ~110 100 520

Exploratory Data Analysis (EDA)

Here are some plots from the dataset:

Pages Histogram

Thickness vs Pages


8. Intended Use / Limitations

  • Use: Teaching and practice with tabular data, preprocessing, augmentation, and Hugging Face uploads.
  • Limitations:
    • Small dataset, not suitable for production ML.
    • Augmented data may not match true real-world distributions.
    • Cover color is subjective.

9. Ethical Considerations

  • No sensitive or personally identifiable information (PII).
  • Objects are inanimate (books).
  • No foreseeable ethical risks.

10. License

This dataset is released under the MIT License, permitting educational and research use with attribution.


11. AI Usage Disclosure

  • Original 30 samples: Collected and measured manually.
  • Synthetic augmentation & Model Card drafting: Supported by generative AI (ChatGPT).
  • Human verification: Final dataset and documentation checked manually.
Downloads last month
49

Models trained or fine-tuned on EricCRX/books-tabular-dataset