# Tutorial Q-32: Split by athlete, not by row

Score one nearest-neighbor model of peak foot force twice, with shuffled steps and with whole runners held out by fixed folds, and see where the difference comes from.

Address: https://apopt.com/data/tutorials/q32-split-by-athlete/  
License: CC BY 4.0 (tutorial); the data file is redistributed from the Data-Driven Engineering course with credit  
Prepared: 2026-12-03

## Description

Files for the tutorial *Split by athlete, not by row* (https://apopt.com/course/tutorials/q32-split-by-athlete/). `raw/` holds the inputs as the device or app wrote them; `clean/` holds the cleaned copies the tutorial writes; `expected/` holds what a correct run prints and saves, so you can check your own run.

## Files

| file | size | rows | description |
|---|---|---|---|
| [expected/printed-output.txt](https://apopt.com/data/tutorials/q32-split-by-athlete/expected/printed-output.txt) | 282 B |  | Everything the tutorial prints, cell by cell |
| [raw/biomechanics.txt](https://apopt.com/data/tutorials/q32-split-by-athlete/raw/biomechanics.txt) | 212.1 KB |  | one row per left-foot step on an instrumented treadmill, nine gait measures and the peak force (2,625 rows) |

Large files are stated with their size. A `preview.md` in this folder shows the first rows of each table.

## Provenance

- Source: Data-Driven Engineering course, Biomechanic Regression case study (apmonitor.com/dde); data courtesy of Iain Hunter, BYU Biomechanics
- Removed: nothing; the file is published by the course as it is
- Permission basis: Published with the course under CC BY 4.0
- Prepared with: dda/tutorials/build.py

## Used in

- Book: [Chapter 11: Is the Change Real? Statistics and Machine Learning](https://apopt.com/book/ch11-statistics/)
- Course: [Week 11 lesson](https://apopt.com/course/week/11/)
- Homework P22: [https://apopt.com/course/assess/p22/](https://apopt.com/course/assess/p22/)
- Homework P23: [https://apopt.com/course/assess/p23/](https://apopt.com/course/assess/p23/)

## How to cite

Tutorial Q-32: Split by athlete, not by row. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q32-split-by-athlete/
