This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cPickle as c | |
import os | |
from sklearn import * | |
from collections import Counter | |
def load(clf_file): | |
with open(clf_file) as fp: | |
clf = c.load(fp) | |
return clf |