Skip to content

Instantly share code, notes, and snippets.

@premgnc1983
premgnc1983 / easypipe.py
Created November 9, 2018 21:56 — forked from dannguyen/easypipe.py
Using scikit-learn to classify NYT columnists
# some convenience functions here, nothing new
'''
# usage:
from easypipe import easy_pipeline
from easypipe import print_metrics
data_folder = "data-hold/20news"
p = easy_pipeline()
print_metrics(p, data_folder)
'''