Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

Design matrix

The whole dataset as one matrix -- one row per sample, one column per feature.

A matrix \mathbf{X} of shape (n, p) collecting n data samples as rows and p features as columns, so that row i is the feature vector for sample i and every model in this course is fit against this one shared representation.

Examples

  • A dataset of 500 houses with 8 features each is a 500 \times 8 design matrix.

  • The target vector \mathbf{y} has one entry per row of \mathbf{X}.

Read the full section →
Graph settings

Calculator