Naive Bayes Classification




In definition of bayespost(data) function, the x in logpost += (logpx * x + logpxneg * (1-x)).sum(0) should be data.


There are certain terms like softmax which I feel are unknown to a beginner. Is this a concept which will be covered later or is there any resource where we can learn about this?


I got confused about the meaning of the notations P(x), P(y), P(x|y), etc.