Linear discriminant analysis

We want the posterior over classes to be a linear function of x

logp(y=c|x,θ)=wTx+const