P19 · due at the start of Class 19, Tue, Mar 9
Regression on gait, and a project pitch
RegressionPresentationBuild B-9
Model peak force or contact time from gait measures (biomechanics.txt and form metrics), with a split by athlete. Presentation 2: a two-slide project pitch — user, decision, data.
Chapter 9: Gait and Cyclic Sports · Week 9 hub
Book exercises
Course Guide: Regression on gait; the project pitch (two slides)
- Exercise 9.11 CORE Python analysis, 20 min
Download form1_ankles.csv (this chapter's data) and run Listing 9.2 with an AI assistant's help. parts Before running, predict the stride period in frames from Figure 9.1. Change the listing to… - Exercise 9.20 CORE Build, 75 min
Build step B-9: an event detector in your page. parts Add peaks.js (Listing 9.3) to your project. It finds local maxima at or above a level and at least minGap samples apart, and reports events per… - Exercise 9.21 CORE Communicate, 25 min
Using the clip and results from the three-cadence field exercise (or the running example in this chapter), write a message of at most 120 words to the runner. Give one cue, what to do, how often, for… - Exercise 9.22 Check the AI, 8 min
An assistant wrote this function and said “tested, duty factor for your runner is 58%, which suggests too much time on the ground.” def duty_factor(contacts, toe_offs, fps):\\ 2emtc =… - Exercise 9.23 Python analysis, 60 min
Case file: can contact time be predicted from cadence for a runner the model has never seen? Fit a straight line and score it with a split by athlete. parts A known answer first. Make synthetic data:… - Exercise 9.24 Communicate, 30 min
Case file: turn the previous exercise into a two-slide pitch for the coach of one of your case-file athletes. Slide 1: the user (the coach), the decision the model would help with, and the data.…
Prepare with these tutorials
- Q-27 An asymmetry index, three definitions (quick tutorial, 15 min)
- CS-12 The body-weight force of each foot plant (case study, 60 min)
- CS-13 Predicting peak left-leg force (case study, 75 min)
Two paths, same skills
Course data
Use the files below. The instructor's own data is the default.
Your own data
Any watch, phone, video or chest-strap recording of your own works in place of the course data. It stays on your device. How to collect it.
course
Files from the DDE course (apmonitor.com/dde)
Running biomechanics tables and phone-sensor examples from the Data-Driven Engineering course.
book
Book data, Chapter 9: Gait and Cyclic Sports
The 3 example files that Chapter 9 of Data-Driven Athletics reads, under the same names the listings use.
Build step
B-9 is part of this assignment.
What to turn in
- A notebook (or app) that runs top to bottom, reading the data by its address or from a file you include.
- The answer to the task, with units and how sure you are.
- One paragraph for the athlete or coach: what to do, and the limit of the finding.
- Your AI-use statement and the verify-it checklist (how).
Scoring
| Method and correctness | 40% |
| Reproducibility and data handling | 25% |
| Interpretation and limitations | 25% |
| Presentation and AI disclosure | 10% |