Bayesian Classification Code In Python To Calculate