AI engineering glossary · Classical ML algorithms

What is conditional independence?

Conditional independence: A relationship in which two variables carry no extra information about each other once a third is known: P(A, B | C) = P(A | C) * P(B | C). Naive Bayes relies on assuming it for all features given the class.

Level: intermediateTopic: Classical ML algorithms

Conditional independence: an example

Given that a message is spam, the presence of 'free' is treated as unrelated to the presence of 'offer'.

Related terms

More Classical ML algorithms terms

Where you learn it

Conditional independence is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.