If you want to see an implementation w&#x2F;o using scikit, checkout this implementation that classifies the newsgroup dataset: <a href="http:&#x2F;&#x2F;www.eggie5.com&#x2F;66-naive-bayes-classifier-implementation" rel="nofollow">http:&#x2F;&#x2F;www.eggie5.com&#x2F;66-naive-bayes-classifier-implementati...</a>