apopt.comCBE 493R Data-Driven Athletics

Course / Week 4 / Class 8

Week 4 · Class 8 · Thu, Jan 28

Smoothing, describing data, charts that make one point, app results files

Chapter 4, Athlete Data in Python

  1. Ask
  2. Collect (this week)
  3. Check (this week)
  4. Interpret (this week)
  5. Coach
  6. Reassess
Due today
H08 Phone sensor log
Due next class
H09 Dashboard 1: a season in four charts
Read
Chapter 4, second half
Slides
Results Files, Assistants and Honest Charts (24 slides) · script

This class page is being written. The outline below follows the course template; for the full explanation read Chapter 4.

1. The question

You wore a chest strap and a watch for the same interval session. The two files have gaps, a few impossible beats, and clocks that do not agree. What was your heart rate, second by second, and how do you know?

2. Start from zero

Revisit Week 3 if a term on this page is new; every term links to the glossary.

3. Concept

Smoothing, describing data, charts that make one point, app results files.

4. Worked example

Case study CS-5 Phone in a pocket: walk, jog, or run? (75 min): Profile, clean and window eight phone accelerometer logs (Part 1), then classify walk, jog and run for a person the model has never seen, against the majority-class baseline, with balancing applied to the training rows only (Part 2). Every step runs in the page, with a prediction first and the expected output as the check.

5. Try it

Quick tutorials this week: Q-10 Open a phone sensor log and plot it · Q-11 Write a data dictionary for one file · Q-12 Find and mark the missing values without deleting anything.

Two or three exercises from the chapter's CORE set, with a hint ladder. See the exercise board.

6. Check yourself

Three to five questions with explanations for every option.

Use Lab

Build Lab

Today: B-4 A CSV file on a canvas. File input, parsing, plotting a time series.

AI Studio