naive-bayes-classifier icon indicating copy to clipboard operation
naive-bayes-classifier copied to clipboard

yet another general purpose naive bayesian classifier.

Results 5 naive-bayes-classifier issues
Sort by recently updated
recently updated
newest added

Maybe something is missing... Traceback (most recent call last): File "/Users/ZhangYuhao/Documents/Datamining/project/Q_number.py", line 3, in from naiveBayesClassifier.trainer import Trainer File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/naiveBayesClassifier/trainer.py", line 1, in from naiveBayesClassifier.trainedData import TrainedData File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/naiveBayesClassifier/trainedData.py", line...

newsTrainer = Trainer(tokenizer.Tokenizer(stop_words = [], signs_to_remove = ["?!#%&"])) At the above line, I am getting an error. Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object...

I face this problem while i try to run the example the error occur at this line : newsTrainer = Trainer(tokenizer.Tokenizer(stop_words = [], signs_to_remove = ["?!#%&"])) and the error is...

I installed naiveBayesClassifier by `pip3 install naiveBayesClassifier ` tokenizer.py doesnt have latest github code. Is the current github not in sync with pip? Code I have was ``` #tokenizer.py def...

Traceback (most recent call last): File "newsClassifier.py", line 22, in newsTrainer.train(news['text'], news['category']) File "/home/hydra/Desktop/AUR/projectSpider/naive-bayes-classifier/naiveBayesClassifier/trainer.py", line 17, in train tokens = self.tokenizer.tokenize(text) AttributeError: 'module' object has no attribute 'tokenize'