Heuristic

noun

say it: “hyoo-RIS-tik” /hjʊˈrɪstɪk/

A simple rule of thumb, written from experience, used to make a decision quickly without exact calculation or a learned model.

What is a heuristic?

A heuristic is a rule of thumb a person writes by hand, such as "Saturdays are busy, so bake more". A short heuristic is often the right first step; machine learning earns its place when the rules get too many and too tangled to keep up to date.

def loaves_to_bake(day):
    return 60 if day == "Saturday" else 50   # a heuristic: no model
print(loaves_to_bake("Saturday"))   # 60

In a sentence

  • “The owner's heuristic was to bake more bread on Saturdays.”
  • “A three-line heuristic beat the first model and was far easier to explain.”

Level: Apprentice · More AI Basics terms at this level

Updated