Northeastern University · CS 7150 · Fall 2026
Quiz 0 is not a test. It exists to tell me what this particular class already knows, so that I teach the right things. That is why the useful answer to a question you cannot do is “don’t know” rather than a guess.
Here is an interactive explainer for each technical question on it. Every one runs in the browser, and every one lets you change the numbers: the point is not the answer to the particular question, it is the picture behind it.
Multiply by hand. [1 2 −1; 0 1 0] [3; 4; 5] =
The algebra and the geometry, running side by side: x turns on its side and deals one entry to each column, A comes apart into columns, every column is stretched by its own coefficient at the same moment, and the stretched columns fly into a chain whose end is Ax. Edit any number, or change the shape of A, and watch your own product build itself.
Open the explainer →What quantity does the least-squares solution minimize? You want to fit y ≈ Ax where A is 100×3.
Drag a fit and watch the squared residuals as literal squares, then the same thing as geometry: y projected onto the column space, with the error perpendicular to everything the model can reach.
Open the explainer →Write dz/dw. Let u = wx + b with x and b fixed, and z = g(u).
A nudge in w travelling down the chain, with the slope at each link, and the same chain drawn as a computation graph: values forward along the edges, derivatives back along them, filled in one node at a time. That is backpropagation, on the smallest network there is.
Open the explainer →E[X] and Var(X) for X equal to 1 with probability p and 0 otherwise.
The mean as a balance point, the variance as the average squared distance from it, and why the spread is widest at p = ½ and vanishes at either end.
Open the explainer →P(disease | positive)? 1% of people have it; the test is positive for 99% of them and for 5% of everyone else.
Ten thousand people as ten thousand squares. Press sort and they rearrange into two overlapping circles, the sick and the positive, with areas exactly proportional to the counts. Pick any conditional probability and everyone outside its denominator dims, so the answer is the fraction of the circle that stays lit.
Open the explainer →Does making the model more flexible increase or decrease bias, variance, and training error?
One true curve, one noisy sample, and a flexibility dial. Resample and the fits scatter: the scatter is variance, the offset is bias, and training error slides to zero whatever else happens.
Open the explainer →