{"action":"opened","issue":{"url":"https://api.github.com/repos/sightmachine/SimpleCV/issues/678","labels_url":"https://api.github.com/repos/sightmachine/SimpleCV/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/sightmachine/SimpleCV/issues/678/comments","events_url":"https://api.github.com/repos/sightmachine/SimpleCV/issues/678/events","html_url":"https://github.com/sightmachine/SimpleCV/issues/678","id":103422077,"number":678,"title":"Naive Bayes Verbose","user":{"login":"onaclov2000","id":473412,"avatar_url":"https://avatars.githubusercontent.com/u/473412?v=3","gravatar_id":"","url":"https://api.github.com/users/onaclov2000","html_url":"https://github.com/onaclov2000","followers_url":"https://api.github.com/users/onaclov2000/followers","following_url":"https://api.github.com/users/onaclov2000/following{/other_user}","gists_url":"https://api.github.com/users/onaclov2000/gists{/gist_id}","starred_url":"https://api.github.com/users/onaclov2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onaclov2000/subscriptions","organizations_url":"https://api.github.com/users/onaclov2000/orgs","repos_url":"https://api.github.com/users/onaclov2000/repos","events_url":"https://api.github.com/users/onaclov2000/events{/privacy}","received_events_url":"https://api.github.com/users/onaclov2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-27T03:49:05Z","updated_at":"2015-08-27T03:49:05Z","closed_at":null,"body":"When setting the naive bayes classifier verbosity to true, I get the following failure \r\n\r\n     ERROR: \r\n     Traceback (most recent call last):\r\n       File \"classify.py\", line 96, in <module>\r\n         main()\r\n       File \"classify.py\", line 79, in main\r\n         trainer.train()\r\n       File \"classify.py\", line 56, in train\r\n         classifier.train(self.trainPaths,self.classes,verbose=True, savedata=\"train_results_\" + str(count) + \".txt\")\r\n        File \"/usr/local/lib/python2.7/dist-packages/SimpleCV/MachineLearning/NaiveBayesClassifier.py\", line 240, in train\r\n         for className, classConfusions in zip(classes, confusion):\r\n\r\n\r\nI suspect that a simple check in that section to ensure confusion is in fact a number may make sense. However the \"bug\" may be higher up the food chain.\r\n"}}