def tan(trainf, testf): t = Tan(trainf) t.classify(testf)
def evaluate_tan(): t = Tan(sys.argv[1], evaluate = True) out = t.evaluate(sys.argv[2]) process(out, 'TAN')