Learn Before
Concept
General Equations of an N-Gram Model
The general equations of an n-gram model apply the Markov assumption to estimate word probabilities. The conditional probability for the next word is approximated by looking words into the past:
The probability of a complete word sequence is approximated as the product of these conditional probabilities:
0
1
Updated 2026-06-19
Contributors are:
Who are from:
Tags
Deep Learning
Data Science
Machine Learning Yearning @ DeepLearning.AI
Dive into Deep Learning @ D2L
Machine Learning
Supervised Learning