Inductive Learning

What is inductive learning?

Inductive learning is when a system learns a general rule from specific examples, then uses it on new cases. Here is how the process works in practice.

On this page
  1. The short answer
  2. How the process works
  3. A simple example: spam filtering
  4. How it relates to other types of learning
  5. Why the answers are never certain
  6. Key takeaways

The short answer

Inductive learning is when an AI system learns a general rule from specific examples, then applies that rule to cases it has not seen before. The examples usually come with the correct answers attached, so the system can check how well its rule fits them.

How the process works

  1. Collect examples. Each example has inputs, such as the words in an email, and usually a label, such as spam or not spam. Labels are explained in what does labeled data mean in machine learning.
  2. Search for a rule. The learner looks for a rule, or hypothesis, that matches the labels in the examples.
  3. Test the rule on new cases. The rule is checked against data it has not seen, to see whether it still predicts well.
  4. Revise if needed. If the rule fails on new cases, the learner can be given more data or try again to find a better rule.

The overall training process is described in how does machine learning really work.

A simple example: spam filtering

Suppose a filter is shown many emails, each labeled spam or not spam. It notices that certain words, such as “winner” or “urgent,” appear often in spam. From this, it forms a rule: flag an email that contains several of these words.

The rule is never perfect. An ordinary message that uses the word “urgent” may get flagged, and some spam will slip through. That is typical of inductive learning. The rule is useful, but it is a best guess from the examples so far.

How it relates to other types of learning

Inductive learning is closely tied to supervised learning, where each example has a label. Unsupervised learning works with unlabeled data and looks for structure, such as groups of similar items. Reinforcement learning learns from rewards and penalties. The three main types are described in what are the main 3 types of ml models.

Why the answers are never certain

A rule can match every example it has seen and still be wrong about new cases. Three common reasons are:

  • Overfitting: the rule picks up noise or accidents in the training examples.
  • Too few examples: rare cases may not appear in the data at all.
  • Different conditions: new cases may not look like the old ones.

Many rules can also fit the same examples. The choices a learner makes among them are covered in types of hypothesis in machine learning. Some learners skip writing an explicit rule and compare new cases with stored examples instead, an approach described in instance-based learning in machine learning examples.

Key takeaways

  • Inductive learning builds a general rule from specific examples.
  • The rule is then applied to new cases, and its answers are probable rather than certain.
  • Much supervised learning works this way. Overfitting and unrepresentative data are its main risks.

The complete guide to inductive learning

Inductive Learning in Artificial Intelligence, With an Example
Read the guide

Keep exploring

Guides from other topics

All topics →