Command Palette
Search for a command to run...
Class-conditional Probability
Date
definition
Assume that x is a continuous random variable whose distribution depends on the category state and is expressed in the form of p(x|ω). This is the "class conditional probability" function, that is, the probability function of x when the category state is ω.
The class conditional probability function latexP(X∣w_i) refers to the probability density of the occurrence of eigenvalue X in the feature space of a known class, which refers to how the attribute X is distributed in the latexw_i class of samples.
The difference between related concepts
latexP(X∣w_1) 、 latexP(X∣w_2) 、 latexP(w_1∣X) 、 $latex P\left( w_{2} |
latexP(X∣w_1) and latexP(X∣w_2) are the probabilities of latexw_1 and latexw_2 occurring under the same condition X. If latexP(X∣w_1) > latexP(X∣w_2) , then we can conclude that under condition X, the probability of event latexw_1 occurring is greater than that of event latexw_2.
latexP(w_1∣X) and latexP(w_2∣X) both refer to the possibility of X appearing under their respective conditions. There is no connection between the two, and it is meaningless to compare the two. latexP(w_1∣X) and latexP(w_2∣X) are issues discussed under different conditions. Even if there are only two types, latexw_i and latexw_i , latexP(w_1∣X) + latexP(w_2∣X) ≠1. Just because latexP(w_1∣X) is greater than latexP(w_2∣X) , it does not mean that X is more likely to be of the first type. Only by considering the factor of prior probability can we determine whether X is more likely to be of the latexw_i type or the latexw_i type. (See: Bayesian formula)

Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.