Overview and warm-up#
Day 2 uses yesterday’s object and array reasoning to organise behavioural data, write analysis functions, and prepare inputs for models.
Today’s notebooks
Retrieval warm-up#
Exercise 16 (Retrieve yesterday’s axis reasoning)
For an array shaped participants × trials × channels × time:
Which axis produces a participant-level average across trials?
What shape remains?
Which expression extracts channel 4 for all participants, trials, and times?
Hint
An aggregation removes the axis it operates on. A colon retains every value along an axis; an integer selects one position and removes that axis.
Solution to Exercise 16 (Retrieve yesterday's axis reasoning)
axis=1participants × channels × timedata[:, :, 4, :]
Today’s pipeline#
files
→ DataFrame / arrays
→ validation
→ clean transformations
→ participant-level summaries
→ feature matrix X and target y
→ model
→ evaluation
You will not learn every model in one workshop. The useful common ground is the Python structure underneath regression, classification, NLP, and cognitive modelling.