where  is the prior probability of feature variable  adopting value ,  is the marginal probability of category variable  adopting value , and  is the joint probability of variables  and  simultaneously adopting those respective values.
In this scenario, the likelihood of a feature variable being assigned a specific value is influenced by its prior probability, whereas the overall probability of a category variable being assigned a particular value is determined by its marginal probability. The joint occurrence of two variables with specific values is also taken into account.