The main characteristic: learning from data
The key characteristic of machine learning is that a system learns patterns from data, rather than following rules that a programmer wrote out for every case. Its performance on a task can improve as it sees more examples, and it is judged on data it hasn’t seen before.
If you’re working through a multiple-choice question, check each option against that idea. The right choice usually describes learning from data and generalizing to new inputs. The traits below are the ones that usually define the field, but the answer depends on the wording of the options.
What “learning” means here
A widely used definition comes from computer scientist Tom Mitchell. In his framing, a program learns from experience with respect to some class of tasks and a performance measure if its performance on those tasks improves with experience. In plain terms, the program gets better at a job as it sees more data, without someone rewriting its rules by hand.
Rules versus learned models
Traditional programming takes rules and input data and produces answers. Machine learning takes input data, along with known answers when they exist, and produces a model that captures the patterns. A common way to put it is that the programmer supplies examples and the algorithm works out the rules. This contrast often comes up in quiz questions.
Generalizing to new data
A machine learning system is useful when it handles inputs it didn’t see during training. This ability is called generalization. Developers check it with held-out data, a set of examples kept back from training and used only for testing. A model that does well only on its training examples may have memorized them rather than learned patterns that carry over.
Other traits that often come up
- It depends on data. The quality and quantity of training data shape what a model can learn.
- Its outputs are predictions, not guarantees. Models make errors, and their accuracy is measured rather than promised.
- It comes in types. Supervised learning uses labeled examples, unsupervised learning uses unlabeled ones, and reinforcement learning learns from rewards. Introductions often answer what are the main 3 types of ML models with exactly these three.
- It can reflect bias. A model can pick up patterns in its training data, including unfair or skewed ones.
Common wrong answers to watch for
Some claims sound plausible but don’t hold up:
- “Machine learning always needs labeled data.” Unsupervised learning works with unlabeled data, so this claim fails. When people ask which learning uses unlabeled data, the answer is unsupervised learning.
- “Machine learning always gives correct results.” Models make mistakes, and results depend on the data and the method.
- “Every rule is written by hand.” This is the opposite of the core idea, which is learning rules from examples.
- “It works without any data.” Learning requires data.
Checking an option
Ask three questions about each choice:
- Does it describe learning from examples rather than hand-coded rules?
- Does it refer to performance on new or unseen data, where relevant?
- Does it avoid absolute words such as “always” or “never”?
An option that passes all three is likely the match.