def load_rf_model():

    import gzip
    try:
        import cPickle as pickle
    except:
        import pickle

    module_path = dirname(__file__)
    file_path = join(module_path, 'models/rf.model.sub.github.gz')
    clf = pickle.load(gzip.open(file_path, 'rb'))

    return clf
Return the UPSILoN random forests classifier.
dataset/ETHPy150Open dwkim78/upsilon/upsilon/datasets/base.py/load_rf_model