with open('my_dumped_classifier.pkl', 'wb') as fid:
    cPickle.dump(gnb, fid)
with open('my_dumped_classifier.pkl', 'rb') as fid:
    gnb_loaded = cPickle.load(fid)
Сохранить классификатор на диск в scikit-learn