muatik / naive-bayes-classifier

yet another general purpose naive bayesian classifier.
MIT License
172 stars 72 forks source link

Resolved import error for ExceptionNotFound #2

Closed kyle-mccarthy closed 8 years ago

kyle-mccarthy commented 8 years ago

Currently, the module will not function as the example shows because the following Error is raised:

ImportError: No module named 'ExceptionNotSeen'

To avoid this error we would need to import everything as a wild card with the following:

from naiveBayesClassifier import *

Or we can namespace the ExceptionNotSeen module as shown in the commit.

I followed a similar structure to how the trainer imports TrainedData

from naiveBayesClassifier.trainedData import TrainedData.

muatik commented 8 years ago

thank you :+1: