Skip to content

Gaussian Naive Bayes

A naive Bayes classifier for continuous features that models each feature’s class-conditional distribution as Gaussian and combines their likelihoods under conditional independence.

Core Idea

Gaussian naive Bayes classifies continuous feature vectors by fitting a normal distribution to each feature within each class and assuming the features are independent once the class is known. A case is scored by multiplying its class prior by its per-feature Gaussian likelihoods, usually in log space, and a maximum-a-posteriori rule selects the largest score. For an observation, the classifier multiplies the class prior by the Gaussian density of every feature under that class, or equivalently adds log-priors and log-likelihoods.

Scope of Application

The model is a fast, data-efficient baseline for continuous predictors and high-dimensional problems where full covariance estimation is undesirable. Its simplicity can produce useful class rankings even when assumptions are imperfect, but probability estimates are often overconfident.

  • Rapid classification baselines. Closed-form parameter estimates and linear scaling make training inexpensive.
  • Small labeled data. Only per-class, per-feature means and variances must be estimated.
  • High-dimensional continuous data. One-dimensional likelihood factors avoid full covariance estimation.
  • Diagnostic comparison. Probability calibration and residual feature dependence reveal when the simplicity is costly.

Clarity

Report classes, features, priors, per-class means and variances, variance smoothing, and the decision rule. Verify that the Gaussian assumption is class-conditional, not merely global. Distinguish predictive accuracy from calibration and inspect dependence among features after conditioning on class. The closest near miss sets the boundary: Quadratic discriminant analysis is a near miss: it models multivariate Gaussian classes with full covariance rather than a conditionally independent diagonal structure.

Manages Complexity

The model turns a high-dimensional joint density into separately estimated one-dimensional Gaussians. This sharply reduces parameter and data requirements, but it discards interactions and covariance; the efficiency and its characteristic overconfidence are two sides of the same simplification. The central tractability–feature dependence tradeoff is this: Factorization reduces estimation cost by discarding correlations. A second classification accuracy–probability calibration tension matters because MAP decisions can be correct even when posterior magnitudes are overconfident.

Abstract Reasoning

Use three linked moves: partition training cases by class and estimate each feature’s class-specific mean and variance; estimate or choose class priors and stabilize very small variances if needed; for a new case, compute per-feature Gaussian log-likelihoods under each class. As a collapse test, the case exits when Gaussian marginals or the naive conditional-independence factorization is replaced. A fourth check is to add log-prior and likelihood terms, then select the largest class score.

Knowledge Transfer

The method transfers across continuous-feature classification tasks when the same class-conditional Gaussian and independence assumptions are plausible enough. Discretizing features or switching to counts changes the event model; kernel densities can relax Gaussianity but no longer instantiate the strict Gaussian variant. No canonical parent prime is currently asserted; broader structural comparisons remain related-prime analogies until separately adjudicated in the DAG. The model assigns one of a finite set of class labels.

Relationships to Other Abstractions

Local relationship map for Gaussian Naive BayesParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Gaussian Naive BayesDOMAINDomain-specific abstraction: Machine-Learning Model — is a kind ofMachine-LearningModelDOMAIN

Current abstraction Gaussian Naive Bayes Domain-specific

Parents (1) — more general patterns this builds on

  • Gaussian Naive Bayes is a kind of Machine-Learning Model Domain-specific

    It is a fitted probabilistic classifier family and instance.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Gaussian Naive Bayes sits in a moderately populated region (51st percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Empirical Measurement & Statistical Inference Methods (50 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-10-08