To use a Bayesian network as a classifier, one simply calculates
using the distribution
represented by the Bayesian network.
Now note that
And since all variables in
are known, we do not need complicated inference
algorithms, but just calculate (1) for all class values.