Homepage › Solution manuals › Kevin P. Murphy › Machine Learning: a Probabilistic Perspective › Exercise 4.20 - Logistic regression vs LDA/QDA
Exercise 4.20 - Logistic regression vs LDA/QDA
Answers
The underlying assumptions for all four classifiers are as follows:
- GaussI assumes a covariance matrix as an identity matrix;
- GaussX has no prior assumption on the covariance matrix;
- LinLog assumes that different classes share the same covariance matrix;
- QuadLog has no prior assumption on covariance matrix, yet it assumes that all data from one class are subject to a normal distribution;
From the perspective of complexity we have the following order:
QuadLog GaussX LinLog GaussI.
The MLE likelihood should follow the same order, this answers the question (a)-(d).
For question (e), the argument is untrue in general. For example, model predicts two samples belonging to the first class with probability vectors and . While outputs and . Now is correct on both samples so , but:
so , this is sufficient for disproving the argument.