An invalid classifier was passed to cts:classify. For example, the element supplied as the classifier parameter is not of type cts:classifier. The classifier is usually created by calling cts:train.
Response
Correct your code.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.