Runs a machine learning classifier on the provided test data on a model that is trained on the given training data. The available classifiers are Naive Bayes, J48, SMO, and Logistic. Mind that the {@link #getSimilarity(JCas,JCas) getSimilarity} methodclassifies the input texts by their ID, not their textual contents. The
DocumentID
of the
DocumentMetaData
is expected to denote the corresponding input line in the test data.