Loading TOC...

cts functions (Classifier)

The classifier built-in functions perform automatic classification of documents using training data. The classifiers that result from training are represented in XML. The classifier APIs and the XML output from cts:train conform to the classifier.xsd schema, located in the Config directory under the directory in which MarkLogic Server is installed.

3 functions
Function name Description
cts.classify Classifies an array of nodes based on training data.
cts.thresholds Compute precision, recall, the F measure, and thresholds for the classes computed by the classifier, by comparing with the labels for the same set.
cts.train Produces a set of classifiers from a list of labeled training documents.