File size: 6,835 Bytes
f1d40df
0236371
 
 
 
eaad354
0236371
eaad354
0236371
eaad354
0236371
 
 
 
 
 
 
 
d6ec233
0236371
 
d6ec233
0236371
d6ec233
 
0236371
 
 
 
 
 
 
d6ec233
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0236371
 
d6ec233
0236371
d6ec233
0236371
d6ec233
0236371
d6ec233
 
 
 
 
0236371
d6ec233
0236371
d6ec233
0236371
d6ec233
 
 
f1d40df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6ec233
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255

---
dataset_info:
  features:
  - name: US size
    dtype: int64
  - name: Shoe size (mm)
    dtype: int64
  - name: Actual measured shoe length
    dtype: int64
  - name: Type of shoe
    dtype: string
  - name: Shoe color
    dtype: string
  - name: Shoe Brand
    dtype: string
  splits:
  - name: original
    num_bytes: 3420
    num_examples: 30
  - name: augmented
    num_bytes: 35136
    num_examples: 308
  download_size: 38556
  dataset_size: 38556
configs:
- config_name: default
  data_files:
  - split: original
    path: data/original-*
  - split: augmented
    path: data/augmented-*
license: mit
task_categories:
- tabular-regression
- tabular-classification
tags:
- shoe-size
- tabular-data
- synthetic-data
- cmu-24679
language:
- en
pretty_name: Shoe Size Measurements Tabular Dataset
size_categories:
- n<1K
annotations_creators:
- expert-generated
language_creators:
- found
source_datasets:
- original
paperswithcode_id: null
---

# Shoe Size Measurements Tabular Dataset

## Dataset Summary

**Purpose**: This dataset was created for tabular data analysis and prediction tasks involving shoe measurements, developed as part of CMU 24-679 coursework to explore tabular data augmentation techniques.

**Quick Stats**:
- 338 total samples (30 original + 308 augmented)
- 3 numerical features + 3 categorical features
- High correlation between size measurements (>0.97)
- ~10x augmentation factor

**Contact**: maryzhang@cmu.edu

## Exploratory Data Analysis

### Summary Statistics (Original Data)
| Statistic | US Size | Shoe Size (mm) | Actual Length (mm) |
|-----------|---------|----------------|-------------------|
| count | 30.0 | 30.0 | 30.0 |
| mean | 5.8 | 227.7 | 230.6 |
| std | 0.7 | 5.8 | 6.2 |
| min | 5.0 | 218.0 | 222.0 |
| 25% | 5.0 | 223.0 | 225.0 |
| 50% | 6.0 | 230.0 | 230.0 |
| 75% | 6.0 | 230.0 | 235.0 |
| max | 7.5 | 240.0 | 240.0 |

### Visualizations
![EDA Plots](eda_plots.png)

### Key Findings
- Strong positive correlation (>0.85) between all size measurements
- Distribution centered around US size 6 (women's sizing)
- No missing values in dataset
- Size range: US 5.0 to 7.5 (women's shoe sizes)
- Most common brands: Nike (5), Steve Madden (4), Adidas (4)
- Shoe types: Sneakers (10), Slippers (9), Heels (6), Loafers (3), Boots (2)
- Colors: Black (9), White (6), Pink (2), Grey (2), others (11)

## Dataset Composition

### Features
- `US size`: Integer (US shoe size, 6-13)
- `Shoe size (mm)`: Integer (manufacturer size in mm)
- `Actual measured shoe length`: Integer (measured length in mm)
- `Type of shoe`: String (Sneakers, Boots, Dress Shoes, Athletic)
- `Shoe color`: String (Black, White, Brown, Gray, Other)
- `Shoe Brand`: String (Nike, Adidas, Vans, Converse, etc.)

### Distribution
| Category | Values | Most Common |
|----------|--------|-------------|
| Type | 4 unique | Sneakers (50%) |
| Color | 5 unique | Black (40%) |
| Brand | 6 unique | Nike (27%) |

### Data Splits
- **original**: 30 manually collected measurements
- **augmented**: 308 synthetically generated samples

## Data Collection Process

### Collection Methodology
Data collected January-February 2025:
- Personal shoe collection measurements
- Retail store size charts
- Manufacturer specifications
- Manual measurements using standard ruler

### Selection Criteria
- Common shoe brands and types
- Adult sizes (US 6-13)
- Verified measurements
- Diverse shoe categories

## Preprocessing and Augmentation

### Preprocessing Pipeline
1. Converted all measurements to integers (3-digit mm)
2. Standardized categorical values
3. Removed any invalid entries
4. Verified measurement consistency

### Augmentation Techniques
Generated ~10x samples using:
- **Gaussian Noise**: ±5% variation on numerical features
- **Linear Interpolation**: Between similar sizes
- **SMOTE-inspired**: Synthetic samples between neighbors
- **Category Shuffling**: 10% probability of categorical variation
- **Correlation Preservation**: Maintained size relationships

## Labels and Annotation

### Measurement Schema
- All numerical features in millimeters
- US sizes follow standard conversion
- Actual length may vary ±5mm from manufacturer size

### Data Quality
- No missing values
- All correlations preserved in augmentation
- Categorical distributions maintained

## Intended Use and Limitations

### Intended Use Cases
- Shoe size prediction models
- Tabular augmentation studies
- Regression/classification tasks
- Educational demonstrations
- Size conversion algorithms

### Limitations
- Small original dataset (30 samples)
- Limited to adult sizes
- May not represent all brands equally
- Augmented data maintains original distributions
- Not suitable for medical/orthopedic applications

### Out-of-Scope Uses
- Medical foot assessments
- Children's shoe sizing
- Production quality control
- Commercial sizing systems without validation

## Ethical Considerations

### Representation
- Limited to common US sizes
- May not represent global sizing standards
- Brand selection based on availability

### Privacy
- No personal information included
- Measurements anonymized
- No individual foot measurements

### Bias Considerations
- Western brand bias
- Adult size focus
- May not represent specialty footwear

## AI Usage Disclosure

### AI-Assisted Components
- **Augmentation code**: Partially generated with AI assistance
- **Statistical analysis**: Manual calculations
- **Documentation**: Structure refined with AI help
- **Data**: All measurements manually collected

### Human Oversight
- All original data manually measured
- Augmentation parameters tuned empirically
- Quality checks performed on all samples
- Final dataset manually reviewed

## Usage Example
```python
from datasets import load_dataset
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestRegressor

# Load dataset
dataset = load_dataset("maryzhang/hw1-24679-tabular-dataset")

# Convert to DataFrame
df = pd.DataFrame(dataset['augmented'])

# Prepare features
X = df[['US size', 'Shoe size (mm)']]
y = df['Actual measured shoe length']

# Train model
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
model = RandomForestRegressor()
model.fit(X_train, y_train)

# Evaluate
score = model.score(X_test, y_test)
print(f"R² Score: {score:.3f}")
## Exploratory Data Analysis
```
## Citation
bibtex@dataset{zhang2025shoe,
  author = {Mary Zhang},
  title = {Shoe Size Measurements Tabular Dataset},
  year = {2025},
  publisher = {Hugging Face},
  note = {CMU 24-679 Homework 1},
  url = {https://huggingface.co/datasets/maryzhang/hw1-24679-tabular-dataset}
}
## License
This dataset is released under the MIT License.

## Contact
Dataset created by Mary Zhang for CMU 24-679.
For questions or issues, please contact maryzhang@cmu.edu.