AI works in three main domains (Computer Vision, Natural Language Processing, Data Science) and predicts with classification, regression and clustering.
| Regression with a steady change | value at step k = first value + (k − 1) × change |
| Example | 5, 8, 11, 14 cm in weeks 1–4 → week 8: 5 + 7 × 3 = 26 cm |
| Distance used here | difference in the first numbers + difference in the second |
| Two clusters | sort the numbers and split at the biggest gap |
| Pixels | percentage of 1s = black pixels ÷ all pixels × 100 |
| NLP first step | count how often each word appears |
A clustering method groups these times (in minutes) that children took to finish a puzzle into two clusters of close values: 63, 17, 19, 69, 22, 67, 66, 21. How many numbers are in the same cluster as 63 (counting 63)?
Working: in order: 17, 19, 21, 22, 63, 66, 67, 69; the biggest gap splits {17, 19, 21, 22} from {63, 66, 67, 69}
Answer: 4