Ejemplo n.º 1
0
def setup_module():
    print >>sys.stderr, "load_raw_data..."
    global raw
    raw = load_raw_data()
Ejemplo n.º 2
0
def setup_module():
    print >> sys.stderr, "load_raw_data..."
    global raw
    raw = load_raw_data()
Ejemplo n.º 3
0
from soln.dataset import load_raw_data
from soln.dataset import generate_xv_splits_np
from soln.featurizer import CustomFeaturizer

if __name__ == "__main__":
    raw = load_raw_data()
    featurizer = CustomFeaturizer()
    for xv_split in generate_xv_splits_np(raw, featurizer):
        print[thing.shape for thing in xv_split]
Ejemplo n.º 4
0
from soln.dataset import load_raw_data
from soln.dataset import generate_xv_splits_np
from soln.featurizer import CustomFeaturizer


if __name__ == "__main__":
    raw = load_raw_data()
    featurizer = CustomFeaturizer()
    for xv_split in generate_xv_splits_np(raw, featurizer):
        print [thing.shape for thing in xv_split]