25 January 2019 2 3K Report

I do not know how to do in the below case in Naive Bayes.

I want to predict probability of each class by using continuous variables.

In my case, class's name are A,B,C,D and prior probability is same(0.25).

And Data which I have is as below.

V1 V2 V3 V4 Class

0.25 0.12 0.30 0.21 A

0.42 0.53 0.28 0.19 B

0.21 0.34 0.33 0.44 C

0.13 0.23 0.34 0.55 A

In my case, class is four and is hypothesized to have same prior probability, but Data does not include one class (D).

When one data(0.21,0.32,0.44,0.11) is given, can I predict each class's probability, especially D?

I am beginner in bayes theory, but I believe that I can get that value after Bayesian update.

If possible, please tell me the package or library (R or python is better for me and other language is OK).

Similar questions and discussions