<< Click to Display Table of Contents >> Navigation: Using SMILE Wrappers > Inference > Probability of evidence |
To calculate the probability of the current evidence set in the network, call Network.prob_evidence. The function returns a floating-point number between 0 and 1 representing P(e), the probability of all evidence currently assigned to nodes.
Python
prob_evidence() -> float
Java
double probEvidence();
C#
double ProbEvidence()
R
evidenceProb <- probEvidence()