Message Text
Invalid classification label value: must be 1 or -1
Cause
An invalid value was given on the val
attribute of a cts:label
element supplied to cts:train. If present, the val
must be 1 or -1.
Response
Correct your code. For more information, see Training the Classifier in the Application Developer's Guide.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.