How AI sees data
A machine-learning situationA shop wants to predict which customers will buy again. The model never sees this table as a spreadsheet. It sees organised numbers: an array.
| Customer | Age | Income | Purchases |
|---|---|---|---|
| 1 | 22 | 35000 | 2 |
| 2 | 35 | 52000 | 4 |
| 3 | 28 | 41000 | 3 |
- Sample — one customer. Each row is one sample.
- Feature — one measurement. Each column is one feature: age, income, purchases.
- Array — the numerical values, stored together with a shape.
- Matrix — a two-dimensional array: samples × features.
Reveal the array when you can already point to samples and features in the table.