HyperAIHyperAI

Command Palette

Search for a command to run...

Class-conditional Probability

Date

7 years ago
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(Xw_i)latex P\left(X | w\_{i}\right) latexP(Xw_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_ilatex w\_{i}latexw_i class of samples.

latexP(Xw_1)latex P\left(X | w\_{1}\right) latexP(Xw_1)latexP(Xw_2)latex P\left(X | w\_{2}\right) latexP(Xw_2)latexP(w_1X)latex P\left( w\_{1} | X\right) latexP(w_1X) 、 $latex P\left( w_{2} |

latexP(Xw_1)latex P\left(X | w\_{1}\right) latexP(Xw_1) and latexP(Xw_2)latex P\left(X | w\_{2}\right) latexP(Xw_2) are the probabilities of latexw_1latex w\_{1} latexw_1 and latexw_2latex w\_{2} latexw_2 occurring under the same condition X. If latexP(Xw_1)latex P\left(X | w\_{1}\right) latexP(Xw_1) > latexP(Xw_2)latex P\left(X | w\_{2}\right) latexP(Xw_2) , then we can conclude that under condition X, the probability of event latexw_1latex w\_{1}latexw_1 occurring is greater than that of event latexw_2latex w\_{2} latexw_2.

latexP(w_1X)latex P\left( w\_{1} | X\right) latexP(w_1X) and latexP(w_2X)latex P\left( w\_{2} | X\right) latexP(w_2X) 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_1X)latex P\left( w\_{1} | X\right) latexP(w_1X) and latexP(w_2X)latex P\left( w\_{2} | X\right) latexP(w_2X) are issues discussed under different conditions. Even if there are only two types, latexw_ilatex w\_{i}latexw_i and latexw_ilatex w\_{i}latexw_i , latexP(w_1X)latex P\left( w\_{1} | X\right) latexP(w_1X) + latexP(w_2X)latex P\left( w\_{2} | X\right) latexP(w_2X) ≠1. Just because latexP(w_1X)latex P\left( w\_{1} | X\right) latexP(w_1X) is greater than latexP(w_2X)latex P\left( w\_{2} | X\right) latexP(w_2X) , 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_ilatex w\_{i}latexw_i type or the latexw_ilatex w\_{i}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.

AI Co-coding
Ready-to-use GPUs
Best Pricing

HyperAI Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Class-conditional Probability | Wiki | HyperAI