Bayesian Classification Code In Python To Reverse