Skip to main contentSkip to navigationSkip to footer
DigiTransact AI Education Centre Start Learning

Level 2 · Module 4 · 10 minutes

Rules and learning working together

What you will learn
  • Explain why real systems combine written rules with a learned model.
  • Decide which parts of a decision belong in rules and which in a model.
  • Describe the role of human review in a hybrid system.

In practice, the choice is rarely rules or learning. A dependable system usually splits the work. Written rules handle what must be exact, and a model handles judgement that is hard to state. The rules act as guardrails, and the model acts as an adviser.

A support desk example

Messages arrive all day. A model reads each message and suggests a category: billing question, delivery problem, technical fault, or complaint. It also produces a confidence score. Written rules then decide what happens next. A complaint mentioning legal action goes straight to a senior agent, whatever the model says. Messages the model is unsure about go to a person. A category guessed wrongly is corrected and recorded.

Order matters. The model's score is an input to the rule, not the final word. If a policy says no automatic refund above a certain amount, the model cannot override it.

Why this mix works

Where each part belongs

Keep rules for anything that must be identical every time or that carries legal, safety or money consequences: eligibility cut-offs, approval limits, required checks, audit trails. Use a model where a decision depends on many weak signals: which message is urgent, which customer is likely to leave, which reading is worth a second look.

The model should not invent policy. If nobody has agreed how to treat a case, the model will copy whatever pattern appears in the data, including old unfair decisions. Defining the rule is a human responsibility.

Hand-tuned scores are not trained models

People often build a spreadsheet with weights they choose themselves: double the points for a late payment, add five for a long message. Those weights come from intuition, not training. Such a score can be useful and easy to explain, but it is a hand-made score, not a model that learned from examples. Real training adjusts weights by comparing predictions with known answers. A workshop where a team agrees weights by discussion is a simulation of scoring, not machine learning.

The next lesson asks where traditional programming still wins outright.

Common misconception

When a business adds a machine learning model, the model takes over the decision. In a well-built system the model is one input. Written rules usually hold hard limits, and people review uncertain cases. The model advises, while policy and accountability stay with the organisation.

Guided practice

Pick an everyday decision with two parts, a policy check and a judgement call, such as approving a refund, prioritising repairs, or choosing which messages to answer first. Write the policy part as if-then rules and the judgement part as a question a model could answer. Note where a person must confirm before any action. This is a design exercise; no model is built.

Knowledge check

1. Where should a fixed approval limit live in a hybrid system?

2. A team assigns weights to risk factors by discussion and calls the result a model. What is the most accurate description?

3. Why keep a person reviewing low-confidence cases?

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

Last updated: