Score function - QDA

79 Views Asked by At

I am trying to classify an input feature using QDA. I have x = [0.5,0.5] I need to find to which class this might belong to. So I decided to use the QDA scoring function δk(x)=logπ − 1/2log|Σ| − 1/2(x−μ)^TΣ^−1(x−μ) I expected this equation to give a single scalar score. However after solving or from the equation it can be seen that the result is a matrix. (in the equation first & second term are scalar whereas third term is a matrix) So how should I decide. Am I understanding some thing wrong ? Kindly help. I googled a lot but what I find is just the formula or solved using any programming language. No worked out example.