What is the paradigm shift from traditional programming to machine learning?
Traditional programming: data plus a program go in, output comes out. Machine learning: data plus the desired output go in, and a program (the model) comes out.
* The paradigm shift: in machine learning the program is no longer an input a person writes but the result the computer derives *
| Input | Result | |
|---|---|---|
| Traditional programming | Data + a hand-written program (rules) | Output |
| Machine learning | Data + example outputs | A program: the learned model |
Example: to compute a square root, you write math.sqrt(16) and get 4 (or ±4). The rule is explicit. To recognise a sessile serrated adenoma (a type of colon polyp) on an endoscopy image, nobody can write down the rule. So you feed the computer many images with their correct diagnoses, and it derives the "program" itself.
The ethical consequence is that the rules are no longer written by a person who can explain them. They are learned from data, so whatever the data contains, including bias, becomes part of the program.
Go deeper:
Google for Developers: What is machine learning? — contrasts computing a forecast from hand-written physics rules with learning it from data.
3Blue1Brown: But what is a neural network? — a visual explanation of a network that learns to recognise handwritten digits no one wrote rules for.