Datasets:
source_id string | colour string | flat_width_in float64 | flat_height_in float64 | openings int64 | fasteners int64 | waist_up int64 | parent_id string | augmentation string | is_augmented bool | second_parent_id string | mix_weight float64 |
|---|---|---|---|---|---|---|---|---|---|---|---|
g04__category_03 | white | 34 | 26.5 | 4 | 0 | 1 | g04 | categorical_perturbation | true | g04 | 1 |
g24__mixup_04 | grey | 50.55 | 22.25 | 3 | 0 | 1 | g24 | within_class_mixup | true | g22 | 0.829453 |
g15__mixup_04 | tan | 24.59 | 38.34 | 7 | 4 | 0 | g15 | within_class_mixup | true | g01 | 0.884149 |
g05__additive_01 | grey | 0.5 | 7.96 | 1 | 0 | 0 | g05 | additive_numeric_jitter | true | g05 | 1 |
g04__additive_03 | tan | 40.04 | 28.37 | 2 | 1 | 1 | g04 | additive_numeric_jitter | true | g04 | 1 |
g18__scale_02 | green | 63.28 | 42.23 | 9 | 10 | 1 | g18 | multiplicative_numeric_scale | true | g18 | 1 |
g13__scale_05 | blue | 22.08 | 42.72 | 7 | 2 | 0 | g13 | multiplicative_numeric_scale | true | g13 | 1 |
g25__category_02 | blue | 4 | 8.5 | 2 | 0 | 0 | g25 | categorical_perturbation | true | g25 | 1 |
g24__additive_02 | grey | 74.7 | 29.82 | 4 | 1 | 1 | g24 | additive_numeric_jitter | true | g24 | 1 |
g10__additive_03 | grey | 20.57 | 19.45 | 7 | 0 | 0 | g10 | additive_numeric_jitter | true | g10 | 1 |
g05__scale_03 | grey | 2.92 | 7.29 | 1 | 0 | 0 | g05 | multiplicative_numeric_scale | true | g05 | 1 |
g21__scale_04 | black | 3.92 | 3.14 | 1 | 0 | 1 | g21 | multiplicative_numeric_scale | true | g21 | 1 |
g21__additive_04 | black | 6.79 | 8.05 | 1 | 0 | 1 | g21 | additive_numeric_jitter | true | g21 | 1 |
g19__category_01 | multi | 6 | 12 | 1 | 1 | 1 | g19 | categorical_perturbation | true | g19 | 1 |
g18__additive_04 | green | 74.24 | 35.64 | 8 | 9 | 1 | g18 | additive_numeric_jitter | true | g18 | 1 |
g03__mixup_04 | multi | 24.57 | 25.57 | 3 | 2 | 1 | g03 | within_class_mixup | true | g19 | 0.714276 |
g27__additive_05 | multi | 15.55 | 16.59 | 5 | 1 | 0 | g27 | additive_numeric_jitter | true | g27 | 1 |
g02__category_03 | grey | 32 | 31 | 4 | 2 | 1 | g02 | categorical_perturbation | true | g02 | 1 |
g17 | multi | 53.5 | 34 | 6 | 10 | 1 | g17 | none | false | g17 | 1 |
g15__additive_02 | tan | 29.28 | 45.52 | 8 | 4 | 0 | g15 | additive_numeric_jitter | true | g15 | 1 |
g05__additive_05 | grey | 7.61 | 13.99 | 1 | 0 | 0 | g05 | additive_numeric_jitter | true | g05 | 1 |
g21__scale_03 | black | 3.44 | 2.94 | 1 | 0 | 1 | g21 | multiplicative_numeric_scale | true | g21 | 1 |
g29__mixup_04 | black | 3.18 | 8 | 1 | 0 | 0 | g29 | within_class_mixup | true | g05 | 0.884179 |
g16__scale_03 | white | 5.24 | 13.87 | 1 | 0 | 0 | g16 | multiplicative_numeric_scale | true | g16 | 1 |
g04__additive_01 | tan | 41.58 | 27.14 | 2 | 0 | 1 | g04 | additive_numeric_jitter | true | g04 | 1 |
g18__scale_05 | green | 72.55 | 43.41 | 10 | 9 | 1 | g18 | multiplicative_numeric_scale | true | g18 | 1 |
g15__additive_01 | tan | 27.15 | 38.66 | 6 | 4 | 0 | g15 | additive_numeric_jitter | true | g15 | 1 |
g19__additive_01 | black | 4.98 | 6.48 | 1 | 0 | 1 | g19 | additive_numeric_jitter | true | g19 | 1 |
g13__category_01 | multi | 21.2 | 39.5 | 7 | 2 | 0 | g13 | categorical_perturbation | true | g13 | 1 |
g05 | grey | 3 | 8 | 1 | 0 | 0 | g05 | none | false | g05 | 1 |
g23__additive_04 | black | 12.16 | 25.37 | 4 | 1 | 1 | g23 | additive_numeric_jitter | true | g23 | 1 |
g05__mixup_05 | grey | 3.17 | 8.09 | 1 | 0 | 0 | g05 | within_class_mixup | true | g25 | 0.827441 |
g19__category_05 | grey | 6 | 12 | 1 | 1 | 1 | g19 | categorical_perturbation | true | g19 | 1 |
g29__mixup_05 | black | 3.28 | 8.05 | 1 | 0 | 0 | g29 | within_class_mixup | true | g25 | 0.895913 |
g07__mixup_05 | green | 31.58 | 28.97 | 5 | 0 | 1 | g07 | within_class_mixup | true | g03 | 0.844295 |
g17__category_01 | green | 53.5 | 34 | 6 | 10 | 1 | g17 | categorical_perturbation | true | g17 | 1 |
g21__additive_01 | black | 5.35 | 4.55 | 1 | 0 | 1 | g21 | additive_numeric_jitter | true | g21 | 1 |
g02__scale_02 | white | 29.49 | 28.13 | 4 | 2 | 1 | g02 | multiplicative_numeric_scale | true | g02 | 1 |
g16__additive_03 | white | 0.5 | 15.68 | 1 | 1 | 0 | g16 | additive_numeric_jitter | true | g16 | 1 |
g04 | tan | 34 | 26.5 | 4 | 0 | 1 | g04 | none | false | g04 | 1 |
g29__mixup_03 | black | 3.84 | 10.5 | 1 | 0 | 0 | g29 | within_class_mixup | true | g16 | 0.642917 |
g19__mixup_03 | black | 6.18 | 10.58 | 1 | 1 | 1 | g19 | within_class_mixup | true | g22 | 0.822914 |
g16__category_01 | grey | 5 | 15 | 1 | 0 | 0 | g16 | categorical_perturbation | true | g16 | 1 |
g18 | green | 68 | 41.2 | 9 | 10 | 1 | g18 | none | false | g18 | 1 |
g15__scale_01 | tan | 25.79 | 39.9 | 7 | 4 | 0 | g15 | multiplicative_numeric_scale | true | g15 | 1 |
g13__mixup_01 | blue | 21.62 | 39.67 | 7 | 2 | 0 | g13 | within_class_mixup | true | g15 | 0.883566 |
g11__scale_03 | black | 21.92 | 20.73 | 5 | 0 | 0 | g11 | multiplicative_numeric_scale | true | g11 | 1 |
g02__scale_01 | white | 34.05 | 33.05 | 4 | 2 | 1 | g02 | multiplicative_numeric_scale | true | g02 | 1 |
g11__category_01 | grey | 21.75 | 19.25 | 5 | 0 | 0 | g11 | categorical_perturbation | true | g11 | 1 |
g19__scale_01 | black | 6.3 | 11.68 | 1 | 1 | 1 | g19 | multiplicative_numeric_scale | true | g19 | 1 |
g24__scale_02 | grey | 56.72 | 26.28 | 4 | 0 | 1 | g24 | multiplicative_numeric_scale | true | g24 | 1 |
g25__scale_01 | black | 4.29 | 8.7 | 2 | 0 | 0 | g25 | multiplicative_numeric_scale | true | g25 | 1 |
g29__additive_02 | black | 0.69 | 2.79 | 1 | 0 | 0 | g29 | additive_numeric_jitter | true | g29 | 1 |
g02__additive_04 | white | 32.83 | 30.73 | 5 | 2 | 1 | g02 | additive_numeric_jitter | true | g02 | 1 |
g03__additive_01 | multi | 38.42 | 35.56 | 4 | 2 | 1 | g03 | additive_numeric_jitter | true | g03 | 1 |
g24__mixup_02 | grey | 42.6 | 21.58 | 3 | 0 | 1 | g24 | within_class_mixup | true | g19 | 0.684076 |
g24__mixup_03 | grey | 60.56 | 27.89 | 5 | 1 | 1 | g24 | within_class_mixup | true | g18 | 0.875708 |
g24__category_05 | blue | 59.5 | 26 | 4 | 0 | 1 | g24 | categorical_perturbation | true | g24 | 1 |
g04__scale_03 | tan | 32.08 | 24.97 | 4 | 0 | 1 | g04 | multiplicative_numeric_scale | true | g04 | 1 |
g18__category_01 | white | 68 | 41.2 | 9 | 10 | 1 | g18 | categorical_perturbation | true | g18 | 1 |
g25__additive_01 | black | 7.53 | 5.2 | 4 | 0 | 0 | g25 | additive_numeric_jitter | true | g25 | 1 |
g07__additive_03 | green | 36.96 | 28.47 | 4 | 0 | 1 | g07 | additive_numeric_jitter | true | g07 | 1 |
g19__additive_03 | black | 5.66 | 15.72 | 3 | 1 | 1 | g19 | additive_numeric_jitter | true | g19 | 1 |
g11__scale_02 | black | 23.03 | 18.9 | 5 | 0 | 0 | g11 | multiplicative_numeric_scale | true | g11 | 1 |
g21__category_04 | blue | 3.7 | 3 | 1 | 0 | 1 | g21 | categorical_perturbation | true | g21 | 1 |
g19__additive_05 | black | 3.08 | 16.66 | 2 | 2 | 1 | g19 | additive_numeric_jitter | true | g19 | 1 |
g10__additive_05 | grey | 20.14 | 18.32 | 5 | 1 | 0 | g10 | additive_numeric_jitter | true | g10 | 1 |
g04__category_01 | green | 34 | 26.5 | 4 | 0 | 1 | g04 | categorical_perturbation | true | g04 | 1 |
g03__additive_03 | multi | 40.75 | 33.77 | 4 | 2 | 1 | g03 | additive_numeric_jitter | true | g03 | 1 |
g16__scale_02 | white | 4.75 | 13.81 | 1 | 0 | 0 | g16 | multiplicative_numeric_scale | true | g16 | 1 |
g02__mixup_05 | white | 29.23 | 29.93 | 4 | 2 | 1 | g02 | within_class_mixup | true | g23 | 0.835046 |
g16__scale_01 | white | 4.83 | 15.13 | 1 | 0 | 0 | g16 | multiplicative_numeric_scale | true | g16 | 1 |
g01__mixup_02 | black | 24.3 | 18.32 | 4 | 0 | 0 | g01 | within_class_mixup | true | g10 | 0.675758 |
g27__mixup_05 | multi | 21.06 | 22.18 | 5 | 1 | 0 | g27 | within_class_mixup | true | g13 | 0.679218 |
g04__scale_01 | tan | 33.44 | 28.6 | 4 | 0 | 1 | g04 | multiplicative_numeric_scale | true | g04 | 1 |
g10__mixup_03 | grey | 26.45 | 19.03 | 5 | 0 | 0 | g10 | within_class_mixup | true | g11 | 0.895795 |
g02__mixup_03 | white | 21.01 | 20.12 | 3 | 1 | 1 | g02 | within_class_mixup | true | g21 | 0.611602 |
g15__additive_04 | tan | 25.94 | 41.21 | 6 | 4 | 0 | g15 | additive_numeric_jitter | true | g15 | 1 |
g22__scale_02 | white | 7.15 | 3.72 | 1 | 1 | 1 | g22 | multiplicative_numeric_scale | true | g22 | 1 |
g27__category_01 | blue | 21 | 14 | 4 | 1 | 0 | g27 | categorical_perturbation | true | g27 | 1 |
g25__additive_02 | black | 16.92 | 9.3 | 1 | 0 | 0 | g25 | additive_numeric_jitter | true | g25 | 1 |
g19__additive_04 | black | 13.17 | 11.3 | 1 | 1 | 1 | g19 | additive_numeric_jitter | true | g19 | 1 |
g27__mixup_02 | multi | 21.61 | 15.22 | 4 | 1 | 0 | g27 | within_class_mixup | true | g01 | 0.695301 |
g21__category_03 | grey | 3.7 | 3 | 1 | 0 | 1 | g21 | categorical_perturbation | true | g21 | 1 |
g29__category_03 | grey | 3.2 | 8 | 1 | 0 | 0 | g29 | categorical_perturbation | true | g29 | 1 |
g16__mixup_02 | white | 9.01 | 15.73 | 2 | 0 | 0 | g16 | within_class_mixup | true | g10 | 0.817717 |
g16__additive_05 | white | 4.37 | 18.54 | 3 | 0 | 0 | g16 | additive_numeric_jitter | true | g16 | 1 |
g10__scale_05 | grey | 28.37 | 19.56 | 5 | 0 | 0 | g10 | multiplicative_numeric_scale | true | g10 | 1 |
g18__mixup_05 | green | 66.5 | 38.52 | 8 | 8 | 1 | g18 | within_class_mixup | true | g24 | 0.82375 |
g01__category_04 | green | 23 | 18 | 3 | 0 | 0 | g01 | categorical_perturbation | true | g01 | 1 |
g01__scale_03 | black | 22.13 | 17.53 | 3 | 0 | 0 | g01 | multiplicative_numeric_scale | true | g01 | 1 |
g04__additive_02 | tan | 22.21 | 31.97 | 3 | 1 | 1 | g04 | additive_numeric_jitter | true | g04 | 1 |
g17__category_04 | tan | 53.5 | 34 | 6 | 10 | 1 | g17 | categorical_perturbation | true | g17 | 1 |
g25 | black | 4 | 8.5 | 2 | 0 | 0 | g25 | none | false | g25 | 1 |
g23__category_03 | green | 15.2 | 24.5 | 4 | 0 | 1 | g23 | categorical_perturbation | true | g23 | 1 |
g15__mixup_03 | tan | 23.79 | 33.83 | 6 | 3 | 0 | g15 | within_class_mixup | true | g27 | 0.73451 |
g23__additive_03 | black | 19.41 | 26.73 | 3 | 0 | 1 | g23 | additive_numeric_jitter | true | g23 | 1 |
g15__category_04 | grey | 24.8 | 41 | 7 | 4 | 0 | g15 | categorical_perturbation | true | g15 | 1 |
g16__category_03 | blue | 5 | 15 | 1 | 0 | 0 | g16 | categorical_perturbation | true | g16 | 1 |
g25__additive_04 | black | 5.38 | 3.41 | 4 | 0 | 0 | g25 | additive_numeric_jitter | true | g25 | 1 |
Worn Items: Waist-Up vs Waist-Down
jackstev/hw1-tabular-worn-items
Thirty hand-measured worn items with five features and one binary target, plus explicitly marked synthetic training variants. Built for CMU 24-679 (Designing and Prototyping AI Systems), Homework 1. The classification task predicts whether an item is worn at or above the waist from its flat dimensions, opening and fastener counts, and colour.
Composition
| Column | Role | Description |
|---|---|---|
source_id |
identifier | gNN measured, suffixed for synthetic rows. |
flat_width_in |
continuous | Max horizontal extent laid flat, inches. |
flat_height_in |
continuous | Max vertical extent laid flat, inches. |
openings |
count | Through-holes plus pockets. |
fasteners |
count | Buttons, zips, clasps. Drawstrings excluded. |
colour |
nominal category | Dominant colour, eight buckets assigned by eye. |
waist_up |
target | 1 = worn at or above the waist, 0 = below. |
parent_id |
provenance | Source row. Equals source_id when measured. |
second_parent_id |
provenance | Mixup partner. Equals parent_id otherwise. |
mix_weight |
provenance | Mixup interpolation weight. 1.0 otherwise. |
augmentation |
provenance | Method that produced the row, none if measured. |
is_augmented |
provenance | False for measured rows, True for synthetic. |
Provenance fields are not predictors.
Collection
Thirty items were measured by the author from a personal wardrobe with a tape measure, laid flat on a hard surface. Conventions were fixed before collection and applied uniformly:
- Width is the maximum horizontal extent including sleeves. A sleeveless top measures body width; a long-sleeve top measures sleeve-tip to sleeve-tip.
- Openings counts through-holes plus pockets. Belt loops are excluded.
- Fasteners counts buttons, zips and clasps. Drawstrings are excluded.
- Colour was bucketed into a fixed vocabulary rather than recorded freely.
An item column naming each garment ("shorts", "shirt", "sock") was recorded
during collection and removed before publication, since it restates the target
and would leak the label.
Labels
waist_up is assigned by where an item is worn, not by garment category. Head,
torso, arm and hand items are 1; leg and foot items are 0. Gloves and a wrist
sweatband are 1 under the arms-and-hands rule, a judgement call worth naming
since hands rest near hip height.
The population is worn items, not strictly garments. Goggles, a balaclava, gloves and a shin guard sleeve sit alongside conventional clothing. This widens the feature distributions and makes the task harder than a clothing-only set.
Splits
| Split | Measured rows | Synthetic rows | Total rows |
|---|---|---|---|
train |
21 | 389 | 410 |
validation |
4 | 0 | 4 |
test |
5 | 0 | 5 |
| Split | Class | Rows |
|---|---|---|
train |
waist-down | 197 |
train |
waist-up | 213 |
validation |
waist-down | 2 |
validation |
waist-up | 2 |
test |
waist-down | 3 |
test |
waist-up | 2 |
The thirty measured items were partitioned with a two-stage stratified split: 30% reserved as holdout, then 50% of that holdout assigned to test. Both holdouts are entirely unaugmented. The seed was selected so that the dataset's one near-duplicate pair falls in a single partition; no model was fit while choosing it.
Splitting precedes augmentation. Augmenting first would place perturbed copies of validation and test items into training and inflate held-out scores. The notebook asserts that both parents of every synthetic row belong to the training partition.
Augmentation
Synthetic rows were generated from the training partition only, by four labelled methods run over 5 copies each. Rows whose features were unchanged after rounding, and repeated feature combinations from the same parent, were removed before packaging.
| Training method | Stored rows |
|---|---|
additive_numeric_jitter |
105 |
categorical_perturbation |
75 |
multiplicative_numeric_scale |
105 |
none |
21 |
within_class_mixup |
104 |
additive_numeric_jitter: Gaussian noise on each numeric feature, scaled to a fraction of the training interquartile range, then returned to its domain.multiplicative_numeric_scale: each numeric feature multiplied by a factor drawn uniformly from 0.90 to 1.10, so proportions stay recognisable.within_class_mixup: features interpolated between two training rows of the same class, primary parent weighted 0.60 to 0.90.categorical_perturbation: colour replaced with another colour observed in the training partition.
Noise scales and the colour vocabulary are estimated from training rows only, so no holdout value influences any synthetic row.
Label preservation is structural rather than argued. One-parent methods copy the parent's label and never recompute it. Mixup draws both parents from the same class, so the blended row inherits that class unchanged; interpolating a binary target across classes would produce a fractional label and break the contract. The notebook asserts that every synthetic label matches both of its parents.
Intended use and limitations
Suitable for teaching, feature-engineering practice and small-model prototyping. Not suitable for any real application.
- Validation and test hold a handful of items each. Accuracy on them moves in very large steps and indicates little. They demonstrate the workflow rather than support model selection.
- All items come from one person's wardrobe, so sizing, style and colour reflect a single adult and do not generalise.
- Synthetic rows carry no information beyond the training originals. They add sampling density, not diversity, and a model evaluated on them would score optimistically.
- Numeric perturbations are clipped at their contracted floors, so rows sitting at a floor drift slightly upward relative to their parents. Labels are unaffected.
colouris near-uninformative for the target and its rarest buckets have very few measured samples.- Two measured rows are identical on all four numeric features and differ only in colour. The random seed was chosen so both fall in the same partition, since splitting them would let a model score one for free from the other. The notebook asserts this rather than assuming it.
Ethical considerations
No people, faces or personally identifying information are included. The items are the author's own everyday clothing and accessories. The dataset carries no sensitive attributes and poses no foreseeable privacy risk.
License
CC BY 4.0.
AI usage disclosure
All thirty measurements were taken manually by the author. Measurement conventions, feature selection, label rules and the choice of augmentation strategy were the author's decisions.
An LLM assistant (Claude) was used to write and refine the notebook code, the plots and this card, and to review the measured data for label leakage and class balance. No feature value or label in the measured rows was generated by AI. Synthetic rows are produced algorithmically by the code in the accompanying notebook, not by a language model.
- Downloads last month
- 39