def save(self, fname):
        output = open(fname, 'wb')
        pickle.dump(self,output,2) # use two otherwise it w
        output.close()
Save the classifier to file
dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/MachineLearning/NaiveBayesClassifier.py/NaiveBayesClassifier.save