Create classifier

Create a new classifier from an existing classifier or from scratch. Samples must be added to an empty classifier before it can be used to classify documents.

If you do not include a classifier file in your Create Classifier request, an empty classifier will be created with the name you specified. You must add samples to the empty classifier before you can use it for classification. If you try to classify a document using a classifier with no samples added you will get classification results where the document type and document type scores are null.

RESPONSES

201 The classifier was created
400 There is already a classifier with the specified name
401 There is no Authorization header or the access token is invalid

Path Params
string
required

The desired name for the classifier

Body Params
file
Defaults to Optional

If you have trained a classifier using Document Studio, include the saved .clf file in the request

Response

Language
LoadingLoading…
Response
Choose an example:
application/json