
08 · Recursion with Matrices and Vectors
Part IV demo of Tensors for Machine Learning. One simple pattern:
Use the current state to create the next state, then repeat.
The same pattern appears in Fibonacci numbers, in power iteration, and in a real monthly airline-passenger forecast. The last of those combines recursion with the pseudoinverse from section 07 — fit a model that predicts each month from the previous 12, then apply it to its own output.
This is exactly the structure of a recurrent neural network: a hidden state, updated by the same weights at every step.
Study here, then run the real thing: notebook 08 on Colab · the handbook · workshop home
Built from the workshop’s own material by Ravi Kalia and Sebastian Laverde Chunza, CC BY 4.0.
Choose how to study
Flash Cards
Flip between question and answer, in both languages, at your own pace.
Rapid Repetition
Short sessions that resurface exactly what you forget, until it sticks.
Practice Test
Exam-style questions with a score at the end. Find your weak spots.
Quiz Game
Beat the clock: answer before time runs out and raise your high score.
Explore the topics
Read it all?
Rapid repetition replays exactly what you forget — the fastest way to lock it in before the exam.