I want to find the following probability:
P(y=1/n=k; thetha)
Read as:
Probability, The prediction is class 1 given number of words = k, parametrized by thetha
A traditional classification doesn't have the conditional probability (right)
P(y = 1; thetha)
How do I solve this?
EDIT:
For example, lets say I want to predict whether an email is spam or not based on the number of attachments.
Let y=1 indicate spam and y=0 be non-spam.
So,
P(y = 1/num_attachements=0; some attributes)
and so on!!
Is it making any sense?
kand what are other parameterstheta. Also there's no such thing as "traditional classification". Most probably you are interested in classifiers based on probability theory (such as Naive Bayes), which may be easily combined with other probability theory methods.