Condition
The Bayesian Approach decomposes to the Generalized Linear Model when the Gaussians that are modeling the class-conditional distributions, share the same covariance matrix ().
The formula for the posterior probability simplifies to the form of a sigmoid function applied to a linear equation:
This structure is the definition of a generalized linear model (specifically, logistic regression). It has two key components:
- Linear Component: The term inside the function, , is a linear combination of the input features .
- Non-linear “Link” Function: The sigmoid function, , takes the output of the linear component and transforms it into a probability between and .
Therefore, the Bayesian approach is not always a generalized linear model, but it effectively becomes one when you make the specific assumption of Gaussian classes with equal covariance, as the resulting model for the posterior probability perfectly fits the GLM structure.