Level 1 · Module 1 · 10 minutes
How AI differs from traditional software
- Explain the difference between rules written by a person and patterns learned from examples.
- Choose one simple task that suits ordinary software and one that suits machine learning.
- Explain why a learned model still needs testing and human checks.
Traditional software follows rules that a person writes. For example, a shop's checkout system might be told: if the total is more than a set amount, take off a small discount. The same input always produces the same output, and the rule can be read and tested by a person. That makes ordinary software predictable and easy to check.
Where the logic comes from
Machine learning works differently. Instead of writing the rule, a person supplies examples and a training process finds the pattern. A spam filter is given many messages already marked "spam" or "not spam". It learns which combinations of words and sender details tend to belong to each group. Nobody wrote a rule for every possible spam message.
The finished model is still software. It runs on a computer, inside a normal app with buttons, screens and a database. The difference is only where the decision comes from: a person wrote the rules, or the model learned them from examples.
What this means in practice
Rule-based software is better when the rule is clear, stable and must be exact. Adding two amounts on a receipt, sending a reminder at a set time, or applying a fixed fee should not be left to guesswork.
Machine learning is better when the task is messy and hard to write as rules, when examples are available, and when a person can check the result. Reading handwriting, sorting photos and spotting unusual payments fit this description.
An AI system can also be wrong in ways a rule cannot. A rule fails in a way you can trace; a learned model can fail silently on a new kind of input. That is why apps using machine learning need testing on fresh examples, monitoring and a human review step when a mistake would matter.
A simple test
Ask two questions about a task. First, can I write the rule clearly, and will it stay the same? Then use ordinary software. Second, do I have many examples, and can errors be checked? Then consider machine learning. If the app only shows fixed buttons, it is automation, not AI.
Common misconception
AI is completely separate from normal software and has no rules. In fact, an AI feature is software too: normal code runs the app, and a trained model handles the learned part.
Guided practice
Write one decision you make often as a clear rule, for example: if the sky is dark and the forecast shows rain, carry an umbrella. Then choose a task that is hard to write as rules, such as deciding whether a message is polite, and list three examples you would need in order to train a model.
Knowledge check
Independent practice
Write a short example from your own work or daily life and decide whether it is AI, ordinary software or a mixture. Then explain why. Save it in your notes; no account is required.
Last reviewed: · Report a problem