def trainTest(classifier, train_instances, test_instances, **kwargs):
    """
    Trains the classifier over train_instances and returns the decision scores of test_instances
    Takes a classifier object, list of training instances and list of test instances as input
    Returns the list of decision scores    
    """
    classifier.train(train_instances, **kwargs)
    return classifier.test(test_instances, **kwargs)
